Главная страница | назад





Article #19609: How do I set a breakpoint in a DLL manually

 Question and Answer Database

FAQ4609C.txt - How do I set a breakpoint in a DLL manually

Category   :Debugging
Platform   :All
Product    :All,   

Question:
How do I set a breakpoint in a DLL manually?

Answer:
The following line of code with tell the debugger to
break:

   __emit__(0xcc);

This is usefull when you cannot set a breakpoint. For
example, in C++Builder 1.0 the debugger could not debug
DLLs. So when the line "__emit__(0xcc);" is encounted
when in a DLL when debugging a DLL the debugger will break.

5/25/99 11:58:21 AM
 

Last Modified: 01-SEP-99