Created
September 30, 2011 13:16
-
-
Save mechairoi/1253711 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define dump_emacs_bt | |
set $t = backtrace_list | |
while $t | |
print *(struct Lisp_String *)(((struct Lisp_Symbol *)(*($t->function)-2))->xname -1) | |
set $t = $t->next | |
end | |
end | |
document dump_emacs_bt | |
dumps the current frame stack. usage: dump_emacs_bt | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment