|
|
Re: What would you do if you could run code on heap dumps? [message #1063965 is a reply to message #1063961] |
Sun, 16 June 2013 22:23 |
Robin Salkeld Messages: 8 Registered: June 2013 |
Junior Member |
|
|
Andrew Johnson wrote on Sun, 16 June 2013 16:18This sounds interesting, though presumably you need access to the program jars as the heap dumps don't have full class file information.
Definitely, and part of the configuration of the virtual JVM is how directories in the original VM map to local directories, so it can locate the class files as needed.
Andrew Johnson wrote on Sun, 16 June 2013 16:18These two posts show requests for something similar.
OQL: calling Java methods
OQL: how to define JS functions
I saw those threads earlier - thanks for the reminder. I'll post there as well in case there's interest.
Andrew Johnson wrote on Sun, 16 June 2013 16:18The Eclipse debugger appears to evaluate toString() to inspect objects, perhaps it actually executes the code.
Yup, that's exactly how it works, and why you can't *normally* evaluate toString() without a live process.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03678 seconds