annathyst: (Default)
[personal profile] annathyst
I sure wish I had discovered that Ruby has not only a debugger, but a debugger with full Emacs (gud) integration! This could have saved me at least a week of sticking print statements where they don't belong. Looks like it's back to good ol' Emacs for thesis code work, at least until RDT gets serious.

For the benefit of others, the Emacs debugger integration is in ruby1.8-elisp in Debian. You need to manually LOAD /usr/share/emacs-site-lisp/ruby1.8-elisp/rubydb3x.el[1](autoload.'rubydb "rubydb3" "Debug ruby code." t). Once you've done that, M-x rubydb, enter the name of the script to run with any arguments, and you'll be at a suspiciously familiar (if you know GDB) prompt.

Here's a (partial?) reference for the debugger.

Thesis update: I submitted a finished chapter and code snapshot yesterday. Paul seems to care more about getting more written output out of me than he does about me actually finishing this compiler, an attitude I can understand but makes me slightly sad. Oh well. One down, three to go. I think I have some momentum on my side now. Relatedly, [livejournal.com profile] yellowpigs's srthesis documentclass for LaTeX works like a charm - I'm quite pleased with what my output looks like.

Topology exam tomorrow. Ugh. So very tired of homology theory. Wish I'd never heard of chains and bounding cycles.

[1] This shouldn't be necessary. I don't know what I'm doing wrong.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

annathyst: (Default)
Anna

June 2021

S M T W T F S
  12345
67 89101112
13141516171819
20212223242526
27282930   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 27th, 2025 12:18 pm
Powered by Dreamwidth Studios