View previous topic :: View next topic |
Author |
Message |
KennyT
Joined: 02 Aug 2005 Posts: 317
|
Posted: Thu Aug 04, 2005 6:17 am Post subject: SDBG when compiling with /undef |
|
|
Hi, I'm posting this again just in case it's got lost from it's original posting from a few weeks ago...
If we compile a program with /undef, should there be an undefined variable, running normally shows a crash stack as expected. However, when running under SDBG, it stops when it hits the 'undef' but the stack and code isn't shown, making debugging a bit tedious!
K |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Thu Aug 04, 2005 4:20 pm Post subject: SDBG when compiling with /undef |
|
|
What does it show in the call stack? I have just tried an example and it did exactly what I expected. Does the error message mention Error 112? |
|
Back to top |
|
|
KennyT
Joined: 02 Aug 2005 Posts: 317
|
Posted: Fri Aug 05, 2005 12:11 am Post subject: SDBG when compiling with /undef |
|
|
Yes, it mentions error 112 but then it just says 'unknown' for the stack. The main window shows assembler code with the lines:
7c81eb33 POP ESI
7c81eb34 LEAVE
7c81eb35 RETN
If I run it not using the debugger, I get a correct crash stack.
I've tried with a simple single .obj-based app and it's OK so maybe the problem has to do with DLLs?
I'll try to engineer a simple example, otherwise it'll need you to download our app before you can see it.
K
|
|
Back to top |
|
|
KennyT
Joined: 02 Aug 2005 Posts: 317
|
Posted: Sat Aug 06, 2005 8:31 am Post subject: SDBG when compiling with /undef |
|
|
Rob,
I've pm-ed you with a version for you to play with that shows the problem...
K |
|
Back to top |
|
|
|