Skip to content

Instantly share code, notes, and snippets.

@vixalien
Created July 17, 2023 10:48
Show Gist options
  • Save vixalien/34a29187034dba298705d3ae81d82d96 to your computer and use it in GitHub Desktop.
Save vixalien/34a29187034dba298705d3ae81d82d96 to your computer and use it in GitHub Desktop.
  1. run it with gdb --args gjs myfile.js
  2. r to run the program.
  3. when it segfaults, bt full to get the C++ stack trace
  4. call gjs_dumpstack() to get the JS stack trace.
  5. q to quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment