P
Pito Salas
I've searched high and low for a solution to this problem:
In order to debug a hairy problem, I need to step into some Java system
classes (hashmap.java) HashMap.class is to be found in rt.jar, part of the
standard Java distribution (1.4.2_04) but it does NOT have debug info
compiled in.
So what to do? I think I did a pretty exhaustive set of steps but I am still
stumped:
- I can't locate an rt.jar with debug info
- From what I read, you can't easily rebuild it from the java system sources
because some stuff does not compile
- I tried recompiling hashmap.java with -g to get debug info and putting the
resulting .class files into a .jar and placing that jar at what I believe is
the front of the classpath. I did this in Eclipse by adding it as a library
in the project properties, and then moving it "up" to the front. Didn't seem
to do it.
- I tried taking the same built .jar file and putting it into the jre spec
in
Eclipse, at the top, and that didn't do the trick either
Anyone have any ideas? I am totally mystified... Any help would be greatly
appreciated...
- Pito
In order to debug a hairy problem, I need to step into some Java system
classes (hashmap.java) HashMap.class is to be found in rt.jar, part of the
standard Java distribution (1.4.2_04) but it does NOT have debug info
compiled in.
So what to do? I think I did a pretty exhaustive set of steps but I am still
stumped:
- I can't locate an rt.jar with debug info
- From what I read, you can't easily rebuild it from the java system sources
because some stuff does not compile
- I tried recompiling hashmap.java with -g to get debug info and putting the
resulting .class files into a .jar and placing that jar at what I believe is
the front of the classpath. I did this in Eclipse by adding it as a library
in the project properties, and then moving it "up" to the front. Didn't seem
to do it.
- I tried taking the same built .jar file and putting it into the jre spec
in
Eclipse, at the top, and that didn't do the trick either
Anyone have any ideas? I am totally mystified... Any help would be greatly
appreciated...
- Pito