hello
I worked with visual studio 2005
and my program work good with F5
But Ctrl+F5 -the program crush
and don't give nothing!
And i can't find the problems?
Maybe it's something with the memory?
Printable View
hello
I worked with visual studio 2005
and my program work good with F5
But Ctrl+F5 -the program crush
and don't give nothing!
And i can't find the problems?
Maybe it's something with the memory?
So in other words, it runs fine when you're stepping through the debugger, but it crashes when you run it without the debugger.
I've had the same thing happen to me a few times, and it's always a pain in the ass. I usually make a few small changes and eventually it stops crashing. I never have time to figure out why, but I'd wish I could.
one time this happened to me. I commented out a bunch of crap, ran it, put it back in and it worked.
1. Try rebuild allQuote:
Maybe it's something with the memory?
2. Check if you use somewhere uninitialized variables
I usually print debug messages around the place where I think it's crashing until I narrow it down the the specific place, then hopefully the bug should be easier to find.