[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-mlvm-dev
Subject:    problems with step debugging
From:       Jochen Theodorou <blackdrag () gmx ! org>
Date:       2014-01-24 11:07:08
Message-ID: 52E2495C.6010004 () gmx ! org
[Download RAW message or body]

Hi all,

My question is related to the JVM, but today to the debugging interface 
actually. Or o be more exact in what exact cases the JVM gives out the 
events when using step filtering.

The background is that I try to fix 
https://jira.codehaus.org/browse/GROOVY-4063 and I am totally lost.

Is there any kind of specification for the debugger and the stepping? 
Obviously something like 
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jdb.html
"""
Stepping

The step commands advances execution to the next line whether it is in 
the current stack frame or a called method. The next command advances 
execution to the next line in the current stack frame.
"""
is not the entire truth or applies only to Java compiled code somehow.

The JVM is responsible for reporting the events and according to Peter 
Gromov it does not report an event in case of stepping for subfunction 
at all 
(https://jira.codehaus.org/browse/GROOVY-4063?focusedCommentId=339971&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-339971).


Since I am at a total loss it would be nice if someone here has at least 
some ideas... I kind of doubt there is a document available describing 
exactly how stepping in debug mode is done.

bye Jochen

-- 
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic