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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access