Re: how to debug in java xpcom

Javier Pedemonte <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <Yf-dnQaXyt1I9SfYnZ2dnUVZ_sfinZ2d__23250.2484148883$1169844630$gmane$org@mozilla.org>
Sylvain Ferriol wrote:
> i want to what's happening in native xulrunner when using java xpcom
> how can i do that ?

Basically, follow what Michal Ceresna said in the first reply.  I just 
wanted to add that I find it is easiest to load the Java app in Eclipse. 
  I set a break point at an appropriate point, and then debug the Java 
app.  Once it stops on the breakpoint, I attach a C/C++ debugger to the 
process and set any breakpoints as necessary in the XULRunner code. 
Then just hit 'run' in Eclipse and it should break in the C/C++ debugger.


javier
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.