Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelklishin/gdb-macros-for-ruby
GDB macros for Ruby processes inspection: by Jamis Buck, Mauricio Fernandez, Phillipe Hanrigou
https://github.com/michaelklishin/gdb-macros-for-ruby
Last synced: about 1 month ago
JSON representation
GDB macros for Ruby processes inspection: by Jamis Buck, Mauricio Fernandez, Phillipe Hanrigou
- Host: GitHub
- URL: https://github.com/michaelklishin/gdb-macros-for-ruby
- Owner: michaelklishin
- Created: 2008-11-25T23:41:49.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T00:26:29.000Z (over 6 years ago)
- Last Synced: 2024-05-08T19:21:09.806Z (6 months ago)
- Homepage:
- Size: 9.77 KB
- Stars: 119
- Watchers: 10
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A collection of macros for GNU debugger (gdb), useful for
inspection of Ruby processes.Originally written by Jamis Buck and Mauricio Fernandez,
collected by Phillippe Hanrigou.And slightly improved by @the83 and @ebenoist
Command | Description
-------------- |------------
reval | Evaluate an arbitrary Ruby expression from current gdb context.
rb_bt | Print the ruby stack trace interpreting backtrace as a Ruby array of string.
rb_raise | Raise a Ruby exception from gdb.
redirect_stdout | Hijack Ruby $stdout and redirect it to /tmp/ruby-debug-.
restore_stdout | Restore Ruby $stdout to its original value after hijacking it>
rb_finish | Execute the current Ruby method until it returns and interrupts th>
rb_object_counts| Count and print all living objects by type.
rb_locals | Print local variables and their values.
rb_backtrace | Print the Ruby backtrace.
rb_classname |
rb_p |
rb_help | Print a list of all ruby macros