How to spy on a Ruby program
jvns.ca
How to spy on a Ruby program
1–10 of 28 posts
Re: How to spy on a Ruby program
#2Re: How to spy on a Ruby program
#3One issue I've run across is spying on JRuby's native Java classes. Anyone have a solution?
Re: How to spy on a Ruby program
#4Linux-only seems perfectly acceptable, especially as more and more development moves to Docker containers.
Great write up, looking forward to seeing a completed tool!
Re: How to spy on a Ruby program
#5One issue I've run across is spying on JRuby's native Java classes. Anyone have a solution?
I've only ever used VirtualVM, maybe Charles Nutter or Chris Seaton will appear and enlighten us both.
Re: How to spy on a Ruby program
#6I've done this to debug OpenStack in the past and it worked very well. There are many similar projects for Python, I used this one since it's in the RHEL repo.
Useful summary on StackOverflow: https://stackoverflow.com/questions/4163964/python-is-it-pos...
Re: How to spy on a Ruby program
#7Re: How to spy on a Ruby program
#8> maybe it doesn't exist because a Linux-only Ruby debugging tool is sort of a weird thing? Linux-only seems perfectly acceptable, especially as more and more development moves to Docker containers. Great write up, looking forward to seeing a completed tool!
Re: How to spy on a Ruby program
#9Earlier quoted context omitted.
I've only ever used VirtualVM, maybe Charles Nutter or Chris Seaton will appear and enlighten us both.
I'm not sure what you want to do. Is your problem that you do want to see the native Java classes, or you want to hide them and focus on the Ruby code? Or is the key thing you want a Java flame graph?
Re: How to spy on a Ruby program
#10Earlier quoted context omitted.
I've only ever used VirtualVM, maybe Charles Nutter or Chris Seaton will appear and enlighten us both.
I'm not sure what you want to do. Is your problem that you do want to see the native Java classes, or you want to hide them and focus on the Ruby code? Or is the key thing you want a Java flame graph?