Re: Maybe already known stuff, but.....

2009-04-21 Thread Massimo Del Fedele
Ben Klein ha scritto: Are there any cases like that where the sourcecode of the app is available? I see it much more useful to track the call stack inside wine, not in the app. In my app there's a crash that's triggered after many wine calls, and this was useful to track them down up to cal

Re: Maybe already known stuff, but.....

2009-04-20 Thread Ben Klein
2009/4/21 Massimo Del Fedele : > Today I found this : > > #include "execinfo.h" > > void BT(void) > { >        void *array[50]; >        size_t size; >        char **strings; >        size_t i; > >        size = backtrace (array, 50); >        strings = backtrace_symbols (array, size); > >        p

Maybe already known stuff, but.....

2009-04-20 Thread Massimo Del Fedele
Today I found this : #include "execinfo.h" void BT(void) { void *array[50]; size_t size; char **strings; size_t i; size = backtrace (array, 50); strings = backtrace_symbols (array, size); printf ("Obtained %zd stack frames