Debug error: directly get into the disassembly window.
-
I am debugging a dll, and I can get to the break point I set. but when I hit the "step foward" or "step to" button, the MSVC get into the disassembly window immediately. The code around the break point is correct, for expected result can be obtained when it is run not in debugging environment. to my surprise, I can debug some portion of the program correctly. I don't have any clue about what is going on. could anyone tell me the possible causes?
Thank you very much!!!
-
I am debugging a dll, and I can get to the break point I set. but when I hit the "step foward" or "step to" button, the MSVC get into the disassembly window immediately. The code around the break point is correct, for expected result can be obtained when it is run not in debugging environment. to my surprise, I can debug some portion of the program correctly. I don't have any clue about what is going on. could anyone tell me the possible causes?
Thank you very much!!!
is the DLL compiled in debug mode ? also, is the code outside the DLL around your breakpoint compiled in debug mode ? also (2), do you have the sources of what the debugger steps into ?
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
I am debugging a dll, and I can get to the break point I set. but when I hit the "step foward" or "step to" button, the MSVC get into the disassembly window immediately. The code around the break point is correct, for expected result can be obtained when it is run not in debugging environment. to my surprise, I can debug some portion of the program correctly. I don't have any clue about what is going on. could anyone tell me the possible causes?
Thank you very much!!!
-
is the DLL compiled in debug mode ? also, is the code outside the DLL around your breakpoint compiled in debug mode ? also (2), do you have the sources of what the debugger steps into ?
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
thank you very much. (1) the DLL definitely is copiled in the debug mode (2) in fact, I am doing secondary development on Autodesk Inventor(a CAD software), so the code outside the dll is not compiled in debug mode. but this can not be the reason, for I have programmed for more than a month and every thing has been good. this problem occurs only today. (3)sorry, I failed to understand your question (2) clearly.
-
Could you pls specify the code where such a error occuring . Also ensure that proper debug information is there for that DLL RinuRaj