diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/BUGS.markdown | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/docs/BUGS.markdown b/docs/BUGS.markdown index d3c990ab..94e24647 100644 --- a/docs/BUGS.markdown +++ b/docs/BUGS.markdown @@ -172,22 +172,23 @@ incorrect inconsistent rendering, or viewing with the GUI) please: Obtaining stack back-traces =========================== - -Linux/MacOSX ------------- - Please rebuild apitrace with debugging information, by passing `-DCMAKE_BUILD_TYPE=Debug` to cmake, or editing its value in `CMakeCache.txt` and rebuilding. +Linux +----- + To obtain a stack back-trace, run the application with gdb from a terminal: $ gdb --args application arg1 arg2 ... (gdb) run ... (gdb) bt + ... + (gdb) quit -On Linux, to trace an application inside gdb invoke apitrace as: +To trace an application inside GDB invoke apitrace as: apitrace trace --verbose --debug application arg1 ... @@ -202,6 +203,18 @@ See also more detailed and Distro specific instructions: * http://live.gnome.org/GettingTraces +Mac OS X +-------- + +To trace an application inside LLDB and obtain a stack backtrace invoke apitrace as: + + $ apitrace trace --verbose --debug application arg1 ... + ... + (lldb) bt + ... + (lldb) quit + + Windows ------- |