JPDA Debugger APIs provide representation of JDI functionality.
JPDA Debugger SPIs defines support for Smart Stepping, Variables Filtering and filtering of all Debugger Views.
The JPDA Debugger API module defines common API for Java debuggers.
List of APIs:
createMirrorVar() methods are introduced in JPDADebugger class. They create a mirror object in the target virtual machine.Similar to invokeMethod() method on ObjectVariable, invokeMethod() is introduced on JPDAClassType for invocation of static methods.
MutableVariable interface is introduced. It's to be implemented by
variables that can change their values.
JPDAWatch now extend
Object createMirrorObject()method is added to
void setFromMirrorObject(Object obj)method is declared by
Two methods are added to JPDADebugger class: getBreakpointsActive()
and setBreakpointsActive(boolean). The set method fires PROP_BREAKPOINTS_ACTIVE
These methods are used to activate/deactivate all breakpoints in the debugger session. Initially, the breakpoints are active in the debugger session.
getSession()/setSession() methods are added to JPDABreakpoint class. They can be used to make the breakpoint debugger session-specific.
BreakpointsClassFilter introduced to provide a customized set of classes for breakpoints.
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
Built on August 25 2014. | Portions Copyright 1997-2014 Oracle. All rights reserved.