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?
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.
I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo
1. Try rebuild allMaybe it's something with the memory?
2. Check if you use somewhere uninitialized variables
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
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.