RE: Debugging an embedded VM with local debug info

"Nathan Fiedler" <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
This is not possible, to my knowledge. The JPDA requires the debugging
information be in the class being debugged. JSwat is just a thin shell
over the JPDA and all of the debugging functionality comes from the
JPDA, not JSwat.

Be aware that there are issues with debugging the KVM and J9 using
JSwat. I have not had the time to investigate these issues, so I don't
know if the problem lies in JSwat or those embedded systems.

n

-----Original Message-----
From: Mark Bowler [mailto:[email protected]] 
Sent: Thursday, September 19, 2002 8:26 AM
To: [email protected]
Subject: [jswat-user] Debugging an embedded VM with local debug info


Hi, 
I have a situation where I would like to debug an embedded VM, but the
class data on the embedded system was not compiled with debug info (-g).
I have full access to the source and can generate a Jar file with the
exact same code that includes the debug info. Is it possible to tell the
debugger (or debuggee) to look for the symbol info from my Jar file and
not just the embedded class data.
The technique of just loading symbol info and attaching to a remote
system is quite a normal approach to embedded debugging in other
languages like C/C++, so I would hope Java has some similar facility.
Thanks, 
Mark Bowler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.