Pardon on that last message. I accientally hit the send button. Now I'm embarrassed for two reasons. Like I as saying, I don't have a test case at this point. At one time I tried to debug a class compiled with Jikes and a breakpoint got skipped. I checked the JDE mailing list and saw reports of related problems, and gave up on Jikes since I need to use JDPA. Overtime, I saw further postings on the jde mailing list related to Jikes and assumed that debugging continued to be a problem. Recently, I got interested in using Jikes again and decided to post my original message on the subject. >From the message below (two down) I see that someone has a test case. In addition to that, I'll give Jikes a good workout and see if I find any other debugging related problems. Thanks, Chuck -----Original Message----- From: Irvine, Chuck R. Sent: Wednesday, August 23, 2000 12:35 PM To: 'Jikes' Subject: RE: [Jikes] Jikes compatibility with JDPA Well, I'm embarrassed to say I don't have one. -----Original Message----- From: jboehle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 23, 2000 8:44 AM To: Jikes Cc: jboehle Subject: RE: [Jikes] Jikes compatibility with JDPA For those looking into the problem, please have a look at Jikes open bug id#10 and incoming bugs id#235,251,275. Here is a snippet from bug #10: ------------------------------ public class Strange { public static void main( String[] args ) { System.out.println("Testing..."); } //static String test = ""; } If I set a breakpoint on the println line everything works fine, the debugger stops etc. If I uncomment the static initialiser line for the test member, compile and restart, JDE fails to resolve/stop at the breakpoint. This problem seems to occur whenever a static member initialiser invokes a constructor. ------------------------------ I just compiled this class with Jikes 1.12 and Sun Javac 1.3, and tried setting a breakpoint on the println call with JDB. It worked with Javac and is broken with Jikes. Here is the output of my JDB session with the Jikes-compiled version: ----------------------------------------- C:\temp>jikes -classpath c:\java\jdk1.3\jre\lib\rt.jar -g Strange.java C:\temp>jdb Strange Initializing jdb... > stop at Strange:3 Deferring breakpoint Strange:3. It will be set after the class is loaded. > run Strange run Strange Java HotSpot(TM) Client VM warning: Setting of property "java.compiler" is ignor ed > VM Started: Unable to set deferred breakpoint Strange:3 : No code at line 3 in S trange Stopping due to deferred breakpoint errors. thread="main", java.lang.ClassLoader.defineClass0(), line=-1, bci=0 main[1] quit ----------------------------------------- Jason Boehle [EMAIL PROTECTED] -----Original Message----- From: Andrew G. Tereschenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 23, 2000 1:23 AM To: Jikes Users List (E-mail) Subject: RE: [Jikes] Jikes compatibility with JDPA Irvine - can you provide as simple as possible class that show skiped bp ? As for me - i've just did fast test - i've downloaded jdb from this site and here is result: t.java: public class t { public static void main(String[]a) { System.out.println("Test"); } } jikes -g t.java jdb t >stop at t:3 Deferring breakpoint t:3. It will be set after the class is loaded. run t Java HotSpot(TM) Client VM warning: Setting of property "java.compiler" is ignor ed > VM Started: Set deferred breakpoint request t:3 Breakpoint hit: thread="main", t.main(), line=3, bci=0 3 System.out.println("Test"); As for jdk1.3 and this jdb (99/06/11) simple breackpoint hit. If you will provide simple that will't work - possibly we will be able to fix this problem. ============================= Andrew G. Tereschenko Integrated Banking Information Systems [EMAIL PROTECTED] > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Chuck Irvine > Sent: Tuesday, August 22, 2000 6:05 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [Jikes] Jikes compatibility with JDPA > > > I am an avid JDE (http://sunsite.auc.dk/jde/) user, which > predominately > supports JDPA (http://java.sun.com/products/jpda/) for > debugging. Jikes > doesn't seem to produce files compatible with JDPA, e.g. > breakpoints are > skipped. Are there any plans to update Jikes to produce JDPA > compatible > files or are there any known workarounds? Thanks! > > Chuck Irvine > Sprint > > ---- To get off the jikes list, send a message containing the word "unsubscribe" (in the body, not the subject) to <[EMAIL PROTECTED]>. Send Majordomo commands to: <[EMAIL PROTECTED]> To contact a human: <[EMAIL PROTECTED]> To post to the list: <[EMAIL PROTECTED]> ---- To get off the jikes list, send a message containing the word "unsubscribe" (in the body, not the subject) to <[EMAIL PROTECTED]>. Send Majordomo commands to: <[EMAIL PROTECTED]> To contact a human: <[EMAIL PROTECTED]> To post to the list: <[EMAIL PROTECTED]>
