P
pauldepstein
Is there any standard c++ command for halting execution? The nearest
equivalent I can find is assert(false); However this only works in
debug mode.
I'm trying to examine the execution flow of my program but an issue is
that debug mode is enormously slow, so setting breakpoints is
enormously slow. For speed, I want to do as much as possible in
release mode.
It occurs to me that, if I knew a c++ command for halting execution, I
could see which line was being executed while in release mode.
Paul Epstein
equivalent I can find is assert(false); However this only works in
debug mode.
I'm trying to examine the execution flow of my program but an issue is
that debug mode is enormously slow, so setting breakpoints is
enormously slow. For speed, I want to do as much as possible in
release mode.
It occurs to me that, if I knew a c++ command for halting execution, I
could see which line was being executed while in release mode.
Paul Epstein