[Issue 971] No profiling output is generated if the application terminates with exit

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 9 19:43:34 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=971





------- Comment #5 from wbaxter at gmail.com  2007-08-09 21:43 -------
Ok, so how *does* one exit from deep within a program in a manner that will
still generate profile info?

The only thing I could think of was to put an exception handler around the main
loop, and then throw an exception when I want to stop execution.

Is that the best option?


-- 



More information about the Digitalmars-d-bugs mailing list