- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there something additional I need to do in order to properly see pointees that are in a DLL under debug?
Ifmy POINTER statements are inmy main executable, the pointees show up fine in the debugger, but if I move the POINTERS to a DLL, they're only correct when the debugger is in the DLL code. From the main executable, the pointees are trash values.
The code still works the same, though, so I think it's just the debugger's display.
-Dan Hoyt, Senior Systems Architect, Technology Service Corp, Colorado Operations
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There isn't anything specific you should have to do. First, please make sure you're using 9.1.037. If you are and the problem persists, send an example to Intel Premier Support. I know there have been issues with pointers in the past and it would not astonish me if there are others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve. I am using 9.1.037 andI have an example all ready for IPS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
they're only correct when the debugger is in the DLL code. From the main executable, the pointees are trash values.
Well it may be incorrect behavior but it is kind of logical because everything in the DLL is trash until it gets mapped by a debugger into its address space which happens on DLL code execution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think what he's saying is that the DLL is loaded and the pointers from the DLL are visible to the debugger but they show the wrong value. I've seen that on occasion.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page