APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot

public Class CLHSDB

extends Object
Class Inheritance
Imports
sun.jvm.hotspot.*, sun.jvm.hotspot.debugger.*, java.io.*, java.nio.charset.Charset, java.util.*

Field Summary

Modifier and TypeField and Description
private HotSpotAgent
private boolean
private String
private String
private String
private JVMDebugger
private int

Constructor Summary

AccessConstructor and Description
public
private
CLHSDB(String[] args)

Method Summary

Modifier and TypeMethod and Description
private void
private void
attachDebugger(int pid)

NOTE we are in a different thread here than either the main thread or the Swing/AWT event handler thread, so we must be very careful when creating or removing widgets

private void
attachDebugger(final String executablePath, final String corePath)

NOTE we are in a different thread here than either the main thread or the Swing/AWT event handler thread, so we must be very careful when creating or removing widgets

private void
connect(final String debugServerName)

NOTE we are in a different thread here than either the main thread or the Swing/AWT event handler thread, so we must be very careful when creating or removing widgets

private void
private void
private void
private String
formatMessage(String message, int charsPerLine)

Punctuates the given string with \n's where necessary to not exceed the given number of characters per line.

public static void
main(String[] args)

public void
run()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

agentback to summary
private HotSpotAgent agent
attachedback to summary
private boolean attached
coreFilenameback to summary
private String coreFilename
debugServerNameback to summary
private String debugServerName
execPathback to summary
private String execPath
jvmDebuggerback to summary
private JVMDebugger jvmDebugger
pidback to summary
private int pid

Constructor Detail

CLHSDBback to summary
public CLHSDB(JVMDebugger d)
CLHSDBback to summary
private CLHSDB(String[] args)

Method Detail

attachDebuggerback to summary
private void attachDebugger(JVMDebugger d)
attachDebuggerback to summary
private void attachDebugger(int pid)

NOTE we are in a different thread here than either the main thread or the Swing/AWT event handler thread, so we must be very careful when creating or removing widgets

attachDebuggerback to summary
private void attachDebugger(final String executablePath, final String corePath)

NOTE we are in a different thread here than either the main thread or the Swing/AWT event handler thread, so we must be very careful when creating or removing widgets

connectback to summary
private void connect(final String debugServerName)

NOTE we are in a different thread here than either the main thread or the Swing/AWT event handler thread, so we must be very careful when creating or removing widgets

detachback to summary
private void detach()
detachDebuggerback to summary
private void detachDebugger()
doUsageback to summary
private void doUsage()
formatMessageback to summary
private String formatMessage(String message, int charsPerLine)

Punctuates the given string with \n's where necessary to not exceed the given number of characters per line. Strips extraneous whitespace.

mainback to summary
public static void main(String[] args)
runback to summary
public void run()