You can clone with
When running a script which creates threads, the agent does not seem to be able to get a stacktrace.
Steps to reproduce
gem install rack-cache
rbx -Xagent.start file.rb
What I see:
The command just hangs there and the process is still running. It looks like it never gets the chance to actually do the snapshot.
What I expect to see:
A snapshot of the stacktraces of all threads.
As a sidenode, I also had the problem of the console not being able to connect to an agent enabled process. Could be both the same problem.
What if you type "get system.backtrace", since stacktrace isn't a command afaik. We should improve the error handling though so it doesn't hang but gives back something useful.
You are right, stacktrace is wrong. With backtrace it returns and prints everything.
thank you very much :D
Should we leave that ticket open for fixing the error handling or should I create a new one?
A new one which describes the actual problem is better, so closing this one :).