diff --git a/src/gtk/utilsgtk.cpp b/src/gtk/utilsgtk.cpp index 7f2f15d92c..f9c83e3166 100644 --- a/src/gtk/utilsgtk.cpp +++ b/src/gtk/utilsgtk.cpp @@ -386,7 +386,8 @@ extern "C" { void get_stackframe_callback(StackDump *dump) { - dump->ProcessFrames(2); // don't show ShowAssertDialog() call itself + // skip over frames up to including wxOnAssert() + dump->ProcessFrames(3); } }