[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.ldt] Re: JSR 45 and support for non-Java class files
|
- From: Per Bothner <per@xxxxxxxxxxx>
- Date: Thu, 24 Mar 2005 16:18:13 -0800
- Newsgroups: eclipse.technology.ldt
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020
Darin Wright wrote:
The Java debugger provides API for creating breakpoints in a particular
stratum.
@see JavaDebugModel.createStratumBreakpoint(..) and
IJavaStratumLineBreakpoint.
Is there a way to view/step bytecode? It occurred to be that the
"stratum" concept can be extended for that. I.e. with JSP you'd have
*three* strata:
> JSP (default)
> Java
> bytecode
If you select the bytecode stratum, you'd get a disasembled view
of the bytecode. You can set breakpoints on individual instructions,
single-step individual instructions, etc.
This would be great not only for us compiler developers,
but also as a pedagogical tool to teach people bytecode.
--
--Per Bothner
per@xxxxxxxxxxx http://per.bothner.com/