gnu.gcj.jvmti

Class BreakpointManager


public class BreakpointManager
extends Object

A class which manages breakpoints in the VM interpreter engine. BreakpointManager is a location manager that the interpreter uses to lookup the original instruction for any given installed breakpoint. JVMTI does not allow multiple breakpoints to be set at any given location.

Method Summary

static void
deleteBreakpoint(long method, long location)
Deletes the breakpoint at the given Location
static Breakpoint
getBreakpoint(long method, long location)
Returns the breakpoint at the given location or null if none installed at location
static Breakpoint
newBreakpoint(long method, long location)
Creates a new breakpoint.

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

deleteBreakpoint

public static void deleteBreakpoint(long method,
                                    long location)
Deletes the breakpoint at the given Location
Parameters:
method - method in which to clear breakpoint
location - index of breakpoint in method

getBreakpoint

public static Breakpoint getBreakpoint(long method,
                                       long location)
Returns the breakpoint at the given location or null if none installed at location
Parameters:
method - the jmethodID of the breakpoint location
location - the index in the method

newBreakpoint

public static Breakpoint newBreakpoint(long method,
                                       long location)
Creates a new breakpoint. SetBreakpoint will verify the validity of the arguments.
Parameters:
method - method in which to set breakpoint (a jmethodID)
location - index where the breakpoint is to be set (a jlocation)

Copyright (C) 2006, 2007 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details.