OK, NT Developers!!
Does anyone know how to get WinDebug to debug an application? Having never used
it before, I am not sure of what behavior to expect. However, if I open a
source and try to set a breakpoint, it will say something like: "Breakpoint not
instantiated" and the program no longer works correctly. Any help would be
gratefully accepted.
I compiled with the following options: -Zi -Od
and linked with the following options: -debug:all -debugtype:cv
There is 1 Reply.
Hi Peter.
When you say you compiled with -Zi -Od, do you mean that you followed one of
the sample makefiles and specified $(cdebug)? If not, please be sure to
follow one of the sample makefiles.
Usually, you will get the 'breakpoint not instantiated' error from WINDBG if
you are trying to set a breakpoint on source that isn't 'loaded' yet. If
this is just part of your main code, you will want to step into your code
once first, then set your breakpoints. By stepping once, your code will be
loaded and ready for debugging.
If this doesn't help, please let me know.
Nancy Cluts
Microsoft Developer Support