Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Local variables (F32vec4) show incorrectly in VS2012 debugger

Harald_Deischinger
301 Views

See the following example code:

[embed]
#include <fvec.h>

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

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

0 Kudos
2 Replies
Bernard
Valued Contributor I
301 Views

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

0 Kudos
Harald_Deischinger
301 Views

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

0 Kudos
Reply