How can a breakpoint be set on methods of an inner class?

Eric Rizzo

As of version 3.5, VAJ does not allow you to set breakpoints inside inner classes (named or anonymous). One workaround is to insert the following line at the point where you need to break execution:

com.ibm.uvm.tools.DebugSupport.halt();
This method instructs the debugger to come up and stop execution at that point, just as if it had encountered a breakpoint.
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact