Re: Recommend a debugger

Tech-Archive recommends: Fix windows errors by optimizing your registry



What is VS? I have Microsoft Visual C++ 6.0, and Microsoft Visual C++ 2005 Express Edition installed. Can I debug using one of those?
How do I get it started, since all I have is the .exe and the .dll?
And is there a way to set a breakpoint in a routine in the .dll?

Susan Rice wrote:
I have only the executables, a .exe file and a .dll file. The program
(.exe) eventually makes a call to a very short routine in the .dll file,
and bombs. I looked at the .dll routine being called with PE Explorer
(http://www.heaventools.com/) and the routine being called is only about
a page long.

Somehow I got to get in there with a debugger to see why it's going
wrong. I have "Debugging Tools for Windows" which has WinDbg.exe,
and "logger.exe" looked promising, but I can't figure out how to
use them.

So is there any decent documentation on how to use WinDbg, or is
there a third party debugger anyone would recommend?
.



Relevant Pages

  • Re: Cant debug Forms DLL (Managed C++)
    ... In the module window the symbols are loaded for the exe and for the dll, ... when I put the debugger to managed only. ...
    (microsoft.public.vsnet.debugging)
  • Re: Remote debugging of the COM process
    ... breaks into debugger, ... > an error being raised in the DLL. ... > and after one or two failures, the EXE would DrWatson with an invalid ... > accounts then there problem doesnot occor; if they are domain accounts ...
    (microsoft.public.vc.debugger)
  • Re: Disable breakpoints inside dll
    ... Trying to debug it with the debugger, the exe dose run but breakpoints inside the dll become automatically disable. ... We then attach to that process with the debugger, verify break points (usually having one set just after the MessageBox invocation, and click OK on the MessageBox. ... I would imagine the same thing works out for your .dll, and that unless you needed to debug something that happens as soon as you attach to the DLL, you may not even need to stop the program with a MessageBox. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: best way to debug a dll in c# free edition
    ... It seems the ability to attache the debugger to a running instance of ... In addition to that when the main program runs it looks for the dll to ... attach the debugger to the running .exe and set your breakpoints. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Disable breakpoints inside dll
    ... the debugger has to wait for the ... ..EXE in the "Executable for Debug Session". ... about the .DLL symbols, breakpoints etc., and will simply launch the .EXE to ...
    (microsoft.public.win32.programmer.kernel)