debugging - How to see stack trace when app is crashed by C/C++ exception? -


currently, apportable doesn't show stack trace on crash c/c++ exception.

how can make print stack-trace when crashed?

you can use apportable debug attach gdb debugger app. use command continue crash; backtrace see trace; up, down, , frame {number} navigate through trace; , print {expression} examine state.

more information in docs page.

for c++ exceptions in particular, confusing stack trace. we'll investigate adding better debugger support these. in meantime set breakpoint on throw(break __cxa_throw).


Comments