problems with step debugging

Jochen Theodorou blackdrag at gmx.org
Fri Jan 24 03:07:08 PST 2014


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



More information about the mlvm-dev mailing list