|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.wst.jsdt.debug.core.model.JavaScriptDebugModel
public class JavaScriptDebugModel
The JavaScript debug model
| Field Summary | |
|---|---|
static java.lang.String |
MODEL_ID
Debug model identifier. |
| Constructor Summary | |
|---|---|
JavaScriptDebugModel()
|
|
| Method Summary | |
|---|---|
static IJavaScriptFunctionBreakpoint |
createFunctionBreakpoint(IResource resource,
java.lang.String name,
java.lang.String signature,
int charstart,
int charend,
java.util.Map attributes,
boolean register)
Creates a new IJavaScriptFunctionBreakpoint |
static IJavaScriptLineBreakpoint |
createLineBreakpoint(IResource resource,
int linenumber,
int charstart,
int charend,
java.util.Map attributes,
boolean register)
Creates a new IJavaScriptLineBreakpoint |
static IJavaScriptLoadBreakpoint |
createScriptLoadBreakpoint(IResource resource,
int charstart,
int charend,
java.util.Map attributes,
boolean register)
Creates a new IJavaScriptLoadBreakpoint |
static java.lang.String |
numberToString(java.lang.Number n)
Converts the given double value to a String removing the trailing .0 in the event the precision is 1 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MODEL_ID
org.eclipse.wst.jsdt.debug.model
| Constructor Detail |
|---|
public JavaScriptDebugModel()
| Method Detail |
|---|
public static IJavaScriptLineBreakpoint createLineBreakpoint(IResource resource,
int linenumber,
int charstart,
int charend,
java.util.Map attributes,
boolean register)
throws DebugException
IJavaScriptLineBreakpoint
resource - the resource to create the breakpoint onlinenumber - the line number to place the breakpoint oncharstart - the char start or -1charend - the char end or -1attributes - the optional map of attributes or nullregister - if the breakpoint should be immediately registered or not
IJavaScriptLineBreakpoint
DebugException - if breakpoint creation failed
public static IJavaScriptLoadBreakpoint createScriptLoadBreakpoint(IResource resource,
int charstart,
int charend,
java.util.Map attributes,
boolean register)
throws DebugException
IJavaScriptLoadBreakpoint
resource - the resource to associate the breakpoint with, or nullcharstart - the char start or -1charend - the char end or -1attributes - the optional map of attributes or nullregister - if the breakpoint should be immediately registered or not
IJavaScriptLoadBreakpoint
DebugException - if breakpoint creation fails
public static IJavaScriptFunctionBreakpoint createFunctionBreakpoint(IResource resource,
java.lang.String name,
java.lang.String signature,
int charstart,
int charend,
java.util.Map attributes,
boolean register)
throws DebugException
IJavaScriptFunctionBreakpoint
resource - the resource to create the breakpoint onname - the name of the functionsignature - the signature of the functioncharstart - the char start of the function or -1charend - the char end of the function or -1attributes - an optional mapping of attributes or nullregister - if the breakpoint should immediately be registered or not
IJavaScriptFunctionBreakpoint
DebugException - if breakpoint creation failspublic static java.lang.String numberToString(java.lang.Number n)
String removing the trailing .0 in the event the precision is 1
n - the number to convert
String value of the number with trailing .0 removed iff the precision is 1
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||