Local variables (F32vec4) show incorrectly in VS2012 debugger

Local variables (F32vec4) show incorrectly in VS2012 debugger

See the following example code:


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?


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

Herunterladen debugger.jpg93.63 KB
Herunterladen variables.zip9.97 KB
3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

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.

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen