parallel analyser not working on memory errors in the commented code

parallel analyser not working on memory errors in the commented code

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....

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

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....

I'm really curious, how VS could debug commented code..

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.

Leave a Comment

Please sign in to add a comment. Not a member? Join today