Local variables (F32vec4) show incorrectly in VS2012 debugger

Local variables (F32vec4) show incorrectly in VS2012 debugger

See the following example code:


#include

int main(int argc, char* argv[])
{
    F32vec4 a(1.0f);
    int b = 1;
    return 0;
}

Setting a breakpoint in the b=1 line and watching the value of a only shows garbage in VS2012 when the code is compiled uing Intel compiler.
When the code is compiles using Microsoft compiler, everything is looking fine.

See also attached screenshot.

Any Ideas?

harald

PS: Versions in use:
Microsoft Visual Studio Professions 2013, 11.0.60610.01 Update 3
Intel C++ Composer XE 2013, Package ID: w_ccompxe_2013.0.089

AttachmentSize
Download debugger.jpg93.63 KB
Download variables.zip9.97 KB
3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

What has been highlighted in your screenshot looks like registers context maybe improperly interpreted by VS2012 debugger.

good news - it seems that this is fixed with SP1.

Login to leave a comment.