c++ - Simple program, no callstack, "inpossible" to find error -
c++ - Simple program, no callstack, "inpossible" to find error -
when run on working machine (win7 vs2010 ultimate sp1)
int main() { unsigned = 5; %= 0; homecoming 0; }
or
int main() { int * ip = 0; *ip = 4; homecoming 0; }
and integer partition 0 unhandled exception. when nail break button, see problem, phone call stack contains msvcrt100d , ntdll , visual studio breaks me within file mlock.c
on leavecriticalsection( _locktable[locknum].lock );
line.
when run code on machine(win7 vs2010 proff sp1), vs breaks on problematic line i %= 0;
od *ip = 4
.
this error hidden somewhere within project , wasn't able find till run on machine. how can prepare behavior? need see on working machine.
i have clean installation of windows 7, clean installation visual studio 2010 , vs-sp1. project should not ruined. generate using cmake , same project working fine on non-working machine.
any advice appreciated.
ok, have found solution.
in vs go exceptions settings (ctrl + alt + e) , check thrown
in required win32 exceptions.
more info can found here , here.
so related question here.
c++ visual-studio-2010 debugging
Comments
Post a Comment