21 Jun
2016
21 Jun
'16
7:42 a.m.
On 21.06.2016 05:19, Gavin Lambert wrote:
On 19/06/2016 11:32, Leon Mlakar wrote:
Years ago I was briefly experimenting with capturing the stack backtrace in the exception objet before throwing it, but couldn't make it work reliably on some platforms. Windows code in particular was very sensitive to compiler options.
If you're on Windows (and using an MS compiler), exceptions capture stack traces anyway. Extracting them is a bit more of a black art however, and as you said there are a couple of compiler options in particular that will affect the traces.
Well, it really was many years ago ... when I was young, inexperienced and didn't particularly like wins environment. At least one of these things ain't true any more. Cheers, Leon