Appendix A. Debugging Techniques

The integrated debugging environment provided by Visual C++ is very powerful. You can use the debugger to start and debug an application by simply stepping through each instruction. During a debug session, you can inspect your variables, memory, registers, call stack, etc. With the new Edit and Continue feature provided by Visual C++ 6.0, you can even change the code on-the-fly while debugging. The Visual C++ debugger is great for debugging local applications, but debugging distributed components requires a little more work.

This appendix shows three simple, but very powerful, techniques for debugging distributed components. The first two are a poor-man’s techniques for detecting what went wrong. The third technique is an easy way to break into an executing component on the server side.

Get Learning DCOM now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.