Re: Can't Get Debugger To Stop At A Breakpoint in VC++
From: Oleg Starodumov (oleg_staro_at_hotmail.com)
Date: 03/23/04
- Next message: Oleg Starodumov: "Re: VC7 debugger"
- Previous message: Oleg Starodumov: "Re: Exception / stack problem"
- In reply to: Phamer: "Re: Can't Get Debugger To Stop At A Breakpoint in VC++"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 14:02:11 +0200
> I also included some OutputDebugString() statements in my code,
> but none of them are appearing in the Debug window.
>
If you don't see OutputDebugString() output in Debug output window,
it is possible that the DLL is actually working in another process (may be,
in a COM server process).
Try to monitor debug output using DebugView tool:
http://www.sysinternals.com/ntw2k/freeware/debugview.shtml
(Make sure "Options | Win32 PIDs" is checked).
For every debug output string, DebugView will display the process ID
in square brackets. Use this process ID to check the process the DLL
is loaded into.
If you do not see your ODS output in DbgView, display a message box
from the DLL and use it to locate the process (e.g. in Task Manager).
In addition, try to set a breakpoint in DllMain() (and insert an OutputDebugString()
there too). Will you be able to stop on the breakpoint in DllMain(), or see
the debug output string in Debug output window?
If none of the above works, please give more information about the operating system,
IE version, and the kind of plugin you are writing.
Regards,
Oleg
- Next message: Oleg Starodumov: "Re: VC7 debugger"
- Previous message: Oleg Starodumov: "Re: Exception / stack problem"
- In reply to: Phamer: "Re: Can't Get Debugger To Stop At A Breakpoint in VC++"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|