why breakpoint is invalid when I debug a application
-
I got a sample visual c++ program from disk.I set some breakpoint in the application ,but when i debug this application,I found that the breakpoint is invalid and the breakpoint is removed in the debugging process.Why and How to fix this problem? Thank you for your answer! sude
-
I got a sample visual c++ program from disk.I set some breakpoint in the application ,but when i debug this application,I found that the breakpoint is invalid and the breakpoint is removed in the debugging process.Why and How to fix this problem? Thank you for your answer! sude
-
ONLY TWO THINGS ARE RESPONSIBLE CASE 1 You have placed a break point in loop in which control is not going; CASE 2 You have placed a breakpoint inside dll; || ART OF LIVING ||
-
I got a sample visual c++ program from disk.I set some breakpoint in the application ,but when i debug this application,I found that the breakpoint is invalid and the breakpoint is removed in the debugging process.Why and How to fix this problem? Thank you for your answer! sude
What often happens is that the source code is not the same version as the code in the application. (is the source compiled into a static link library?) Find out where you should put the SLL and relink your app.
sude wrote:
Thank you for your answer!
You're welcome :-D Behind every great black man... ... is the police. - Conspiracy brother Blog[^]
-
ONLY TWO THINGS ARE RESPONSIBLE CASE 1 You have placed a break point in loop in which control is not going; CASE 2 You have placed a breakpoint inside dll; || ART OF LIVING ||
shivditya wrote:
CASE 2 You have placed a breakpoint inside dll;
Hello Buddy, can you throw more light on this statement. how come breakpoint become invalid in DLL....
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
shivditya wrote:
CASE 2 You have placed a breakpoint inside dll;
Hello Buddy, can you throw more light on this statement. how come breakpoint become invalid in DLL....
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
If option is not set on debug the dll obviously break point becomes invalid. Try doing it || ART OF LIVING ||
-
shivditya wrote:
Try doing it
:confused: Is that option is set by default?!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
This is because the debugger cannot find the symbols of the DLL they are trying to set the breakpoint in. They need to goto the Project settins, debug tab and select Additional DLLs in the combo box, you can then specify additional DLLs which will have symbols loaded for them at debug startup. this allows breakpoints to be set in loaded DLLs of a project. Note: This was written with VC6 in mind If you vote me down, my score will only get lower
-
This is because the debugger cannot find the symbols of the DLL they are trying to set the breakpoint in. They need to goto the Project settins, debug tab and select Additional DLLs in the combo box, you can then specify additional DLLs which will have symbols loaded for them at debug startup. this allows breakpoints to be set in loaded DLLs of a project. Note: This was written with VC6 in mind If you vote me down, my score will only get lower
Roger Allen wrote:
They need to goto the Project settins, debug tab and select Additional DLLs in the combo box, you can then specify additional DLLs which will have symbols loaded for them at debug startup. this allows breakpoints to be set in loaded DLLs of a project.
That's a Intresting fact :)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
This is because the debugger cannot find the symbols of the DLL they are trying to set the breakpoint in. They need to goto the Project settins, debug tab and select Additional DLLs in the combo box, you can then specify additional DLLs which will have symbols loaded for them at debug startup. this allows breakpoints to be set in loaded DLLs of a project. Note: This was written with VC6 in mind If you vote me down, my score will only get lower
Roger Allen wrote:
Note: This was written with VC6 in mind
Exactly. With VC++ 7+ you don't have to worry about it.
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.