I have a strange problem with VS2010 (creating a big project in C ++). When you start debugging, execution is performed as an endless loop. I set a breakpoint in the first line of main (), but a breakpoint was never reached. I also tried F11 to go to main (), but no effect. The task manager shows an instance of my application, and the console says nothing but "Loaded xxx.dll characters." I tried to pause execution, but I ended up in some kind of assembly loop, here is the assembly, if someone can read it:
0000000077226129 lea rdx,[rsp+88h] 0000000077226131 xor ecx,ecx 0000000077226133 call 0000000077231650 0000000077226138 mov dword ptr [rsp+30h],eax 000000007722613C test eax,eax 000000007722613E js 000000007725E73F 0000000077226144 cmp dword ptr [7731201Ch],r14d 000000007722614B je 0000000077226129
Can someone tell me or at least tell me how to approach this problem?
Edit: I found out that when you delete one of the shared libraries (FlyCapture2, developed by Point Gray Research), the application starts up normally. There seems to be some kind of loading method in the library that is called before main () is executed. Despite the fact that I solved my current problem, I still would like to know: how to detect such problems?
Violin yanev
source share