|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Watching global variables in IDE debugger with MSC7-1
Watching global variables in IDE debugger with MSC7-1 [message #215] |
Sun, 04 December 2005 06:26 |
gprentice
Messages: 260 Registered: November 2005 Location: New Zealand
|
Experienced Member |
|
|
Hi
I'm trying out the debugger in the IDE with MSC7.1 build and when I try to add a watch for a global variable it says the variable is undefined. It shows me local variables ok.
If I fire up the V Studio debugger from TheIDE with "devenv" I can add the global variable to the watch list ok (though I seem to be forced to create a "solution" file).
The global variable is just a simple DWORD variable.
Any ideas why The IDE says it's "undefined" - I checked the name carefully? I could use devenv but I'm just wondering if this should work.
Graeme
|
|
|
|
|
|
Re: Watching global variables in IDE debugger with MSC7-1 [message #292 is a reply to message #289] |
Wed, 07 December 2005 12:58 |
gprentice
Messages: 260 Registered: November 2005 Location: New Zealand
|
Experienced Member |
|
|
Quote: |
"ide" main package, "ide/Debuggers" package, file Debug.cpp, line 82 - there is excluded code to load global variables info.
|
Thanks. I tried enabling the code and running new ide but global symbols are still undefined - though I had actually already noticed the string returned to the EnumGlobals callback was saved in "test" and never looked at anywhere - but for some strange reason I decided to try it anyway !! - well, I see the "watch" is an array control but I have no clue how to hook up global symbols to it.
I might investigate some more, coz I might learn something useful, but I have one more question ... I don't see any usenet posters complaining of performance problems with SymEnumSymbols (any idea why not?) and I'm surprised MS wouldn't fix showstopping performance problems so I was wondering if you could explain what kind of performance problem e.g. is it 5 seconds, 50 seconds, 5 minutes ... to update the watch list - and is this with large .exe like theIDE ?
(Maybe dbghelp functions are mainly for crash dump analysis and not for people to write their own debuggers ??)
(That reminds me, I remember wxWidgets had some kind of crash dump analysis facilities for end users apps to use).
Graeme
[Updated on: Wed, 07 December 2005 12:59] Report message to a moderator
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri May 03 00:52:23 CEST 2024
Total time taken to generate the page: 0.04326 seconds
|
|
|