jdb

Eric J. Van der Velden ericjvandervelden at gmail.com
Sat Sep 19 00:29:44 PDT 2009


Hello Tim,

Great, thank you very much.

Eric J.


tim.bell wrote:
> 
> Eric J. Van der Velden wrote:
> 
>> I build the JDK by doing
>> 
>> $ make debug_build ALT...
>> 
>> Now when I use jdb I cannot step into a method of a system type, for
>> example
>> java.util.HashSet.<init>().
> 
> By default jdb will not step into (or hit breakpoints) in the core
> implementation classes because it was felt that programmers would be
> more interested in their own code.
> 
> jdb starts with a default exclude pattern of:
>        java.*,javax.*,sun.*,com.sun.*,
> 
> 
> (When in jdb, type 'help' for information about the exclude command).
> 
>> Why not, because java/util/HashSet.java is compiled with -g ?
> 
> If you issue the command 'exclude none' in jdb, you will turn off
> this behavior.
> 
> BTW - I agree that this jdb behavior is somewhat user surprising,
> and there is an existing bug report about it:
> 
> 4702575 "TTY: Warn user before accepting a breakpoint if class is on
> exclude list"
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4702575
> 
> 
> HTH-
> 
> Tim
> 
> 

-- 
View this message in context: http://www.nabble.com/jdb-tp25514580p25519331.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.



More information about the hotspot-dev mailing list