- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
I think my parallel studio failed to work on detecting some memory error (found in memory checker) occured in the commented lines of the code(which it was not supposed to analyse),while visual studio successfully debugs my code(which is obvious as any compiler will not compile commented code). May be i am wrong..but those memory errors which i see are from the commented code.i think it needs to be fixed in that aspect....
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Parallel Inspector's memory checking function does NOT analyze source code, so there is no way it would have analyzed code commented out. Perhaps you commented it out and did not recompile?
Parallel Inspector's memory checking inserts checks into the binary code for every instruction that accesses memory. Only code that is executed is checked.
Parallel Inspector's memory checking inserts checks into the binary code for every instruction that accesses memory. Only code that is executed is checked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - coolsandyforyou
hi,
I think my parallel studio failed to work on detecting some memory error (found in memory checker) occured in the commented lines of the code(which it was not supposed to analyse),while visual studio successfully debugs my code(which is obvious as any compiler will not compile commented code). May be i am wrong..but those memory errors which i see are from the commented code.i think it needs to be fixed in that aspect....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One thought: did you compile in debug mode with no optimizations /Od and with symbols turned on? If you run on optimized code, the line numbers might point to the wrong code locations.
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