What OS are you using? Just so I can give you specific instructions.
Linux, and unfortunately, occasionally Windows.
Linux is good!
So if you put `trace!` at the top of `def tick` you’ll get a flood in information in standard out.
You can pass in an instance of an object to trace! To scope it down to that object.
If neither of those help, ping Amir on Discord and he’ll troubleshoot it with you. http://discord.dragonruby.org.
Ok, I was doing that, and it provides a good amount of information, but I guess what I'm asking is, is there any way to get a 'stack trace' like the output during a normal ruby error, like this?
1.9.3-p551 :004 > .error
NoMethodError: undefined method `error' for :Array
from /home/stew/.rvm/rubies/ruby-1.9.3-p551/bin/irb:16:in `<main>'
1.9.3-p551 :005 >
The problem is that it's an "append only" hot loaded environment. So you could technically write a function that throws an exception. Save the file (to patch the environment), then delete the function from the file.
When you execute the function, there is no where to point to it.
It's quite an interesting problem ^_^;