Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrennie2010-07-21 12:49:02 -0400
committermrennie2010-07-21 12:49:02 -0400
commitcb378ebbde1d3b43fb9cfee3685914e3dd6d096f (patch)
treee9d92aba6db3f8949bf7b7b7c405c4b422c028fc /development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request
parent9521c8daf0947ec52b6b93b5a2acc1ff1129e463 (diff)
downloadwebtools.jsdt.debug-cb378ebbde1d3b43fb9cfee3685914e3dd6d096f.tar.gz
webtools.jsdt.debug-cb378ebbde1d3b43fb9cfee3685914e3dd6d096f.tar.xz
webtools.jsdt.debug-cb378ebbde1d3b43fb9cfee3685914e3dd6d096f.zip
filling in code stubs + process waiter
Diffstat (limited to 'development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request')
-rw-r--r--development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/BreakpointReqImpl.java62
-rw-r--r--development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/DebuggerStatementReqImpl.java38
-rw-r--r--development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqImpl.java22
-rw-r--r--development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqManager.java58
-rw-r--r--development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ExceptionReqImpl.java26
-rw-r--r--development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ScriptLoadReqImpl.java (renamed from development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ScritpLoadReqImpl.java)17
-rw-r--r--development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/StepReqImpl.java26
-rw-r--r--development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/SuspendReqImpl.java21
8 files changed, 210 insertions, 60 deletions
diff --git a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/BreakpointReqImpl.java b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/BreakpointReqImpl.java
index d6948a7..39636b3 100644
--- a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/BreakpointReqImpl.java
+++ b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/BreakpointReqImpl.java
@@ -13,48 +13,84 @@ package org.eclipse.wst.jsdt.debug.internal.chrome.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.Location;
import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.BreakpointRequest;
+import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.VMImpl;
/**
- *
+ * {@link BreakpointRequest} impl
+ *
+ * @since 1.0
*/
public class BreakpointReqImpl extends EventReqImpl implements BreakpointRequest {
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest#isEnabled()
+ private Location location = null;
+ private ThreadReference thread = null;
+ private int hitcount = 0;
+ private String condition = null;
+
+ /**
+ * Constructor
+ *
+ * @param vm
+ * @param location
+ * @param enabled
*/
- public boolean isEnabled() {
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest#setEnabled(boolean)
- */
- public void setEnabled(boolean enabled) {
+ public BreakpointReqImpl(VMImpl vm, Location location, boolean enabled) {
+ super(vm, enabled);
+ this.location = location;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.Locatable#location()
*/
public Location location() {
- return null;
+ return location;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.BreakpointRequest#addThreadFilter(org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference)
*/
public void addThreadFilter(ThreadReference thread) {
+ this.thread = thread;
}
+ /**
+ * Returns the underlying {@link ThreadReference} this request applies to
+ *
+ * @return the underlying {@link ThreadReference}
+ */
+ public synchronized ThreadReference thread() {
+ return this.thread;
+ }
+
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.BreakpointRequest#addConditionFilter(java.lang.String)
*/
public void addConditionFilter(String condition) {
+ this.condition = condition;
}
+ /**
+ * Returns the condition for this breakpoint
+ *
+ * @return the condition
+ */
+ public synchronized String condition() {
+ return condition;
+ }
+
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.BreakpointRequest#addHitCountFilter(int)
*/
public void addHitCountFilter(int hitcount) {
+ this.hitcount = hitcount;
+ }
+
+ /**
+ * Returns the hit count for the breakpoint
+ *
+ * @return the hit count for the breakpoint
+ */
+ public synchronized int hitcount() {
+ return this.hitcount;
}
-
}
diff --git a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/DebuggerStatementReqImpl.java b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/DebuggerStatementReqImpl.java
index 7a97b77..430ad69 100644
--- a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/DebuggerStatementReqImpl.java
+++ b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/DebuggerStatementReqImpl.java
@@ -12,30 +12,40 @@ package org.eclipse.wst.jsdt.debug.internal.chrome.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.DebuggerStatementRequest;
+import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.VMImpl;
/**
- *
+ * {@link DebuggerStatementRequest} impl
+ *
+ * @since 1.0
*/
-public class DebuggerStatementReqImpl extends EventReqImpl implements
- DebuggerStatementRequest {
+public class DebuggerStatementReqImpl extends EventReqImpl implements DebuggerStatementRequest {
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest#isEnabled()
+ private ThreadReference thread = null;
+
+ /**
+ * Constructor
+ *
+ * @param vm
+ * @param enabled
*/
- public boolean isEnabled() {
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest#setEnabled(boolean)
- */
- public void setEnabled(boolean enabled) {
+ public DebuggerStatementReqImpl(VMImpl vm, boolean enabled) {
+ super(vm, enabled);
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.DebuggerStatementRequest#addThreadFilter(org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference)
*/
public void addThreadFilter(ThreadReference thread) {
+ this.thread = thread;
+ }
+
+ /**
+ * Returns the underlying {@link ThreadReference} this request applies to
+ *
+ * @return the underlying {@link ThreadReference}
+ */
+ public synchronized ThreadReference thread() {
+ return this.thread;
}
-
}
diff --git a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqImpl.java b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqImpl.java
index 6635e45..a753210 100644
--- a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqImpl.java
+++ b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqImpl.java
@@ -12,23 +12,39 @@ package org.eclipse.wst.jsdt.debug.internal.chrome.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest;
import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.MirrorImpl;
+import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.VMImpl;
/**
- *
+ * Impl of {@link EventRequest}
+ *
+ * @since 1.0
*/
public class EventReqImpl extends MirrorImpl implements EventRequest {
+ private boolean enabled = false;
+
+ /**
+ * Constructor
+ *
+ * @param vm
+ * @param enabled
+ */
+ public EventReqImpl(VMImpl vm, boolean enabled) {
+ super(vm);
+ this.enabled = enabled;
+ }
+
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest#isEnabled()
*/
public boolean isEnabled() {
- return false;
+ return enabled;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest#setEnabled(boolean)
*/
public void setEnabled(boolean enabled) {
+ this.enabled = enabled;
}
-
}
diff --git a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqManager.java b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqManager.java
index bd27542..f534d0f 100644
--- a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqManager.java
+++ b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/EventReqManager.java
@@ -60,23 +60,25 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
*/
public EventReqManager(VirtualMachine vm) {
super(vm);
- /*kind.put(CFBreakpointRequest.class, breakpoints);
- kind.put(CFDebuggerRequest.class, debuggers);
- kind.put(CFExceptionRequest.class, exceptions);
- kind.put(CFScriptLoadRequest.class, loads);
- kind.put(CFStepRequest.class, steps);
- kind.put(CFSuspendRequest.class, suspends);
- kind.put(CFThreadEnterRequest.class, threadenters);
- kind.put(CFThreadExitRequest.class, threadexits);
- kind.put(CFDisconnectRequest.class, disconnects);
- kind.put(CFDeathRequest.class, deaths);*/
+ kind.put(BreakpointReqImpl.class, breakpoints);
+ kind.put(DebuggerStatementReqImpl.class, debuggers);
+ kind.put(ExceptionReqImpl.class, exceptions);
+ kind.put(ScriptLoadReqImpl.class, loads);
+ kind.put(StepReqImpl.class, steps);
+ kind.put(SuspendReqImpl.class, suspends);
+ kind.put(ThreadEnterReqImpl.class, threadenters);
+ kind.put(ThreadExitReqImpl.class, threadexits);
+ kind.put(VMDisconnectReqImpl.class, disconnects);
+ kind.put(VMDeathReqImpl.class, deaths);
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createBreakpointRequest(org.eclipse.wst.jsdt.debug.core.jsdi.Location)
*/
public BreakpointRequest createBreakpointRequest(Location location) {
- return null;
+ BreakpointReqImpl req = new BreakpointReqImpl(chromeVM(), location, true);
+ breakpoints.add(req);
+ return req;
}
/* (non-Javadoc)
@@ -90,7 +92,9 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createDebuggerStatementRequest()
*/
public DebuggerStatementRequest createDebuggerStatementRequest() {
- return null;
+ DebuggerStatementReqImpl req = new DebuggerStatementReqImpl(chromeVM(), true);
+ debuggers.add(req);
+ return req;
}
/* (non-Javadoc)
@@ -104,6 +108,8 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createExceptionRequest()
*/
public ExceptionRequest createExceptionRequest() {
+ ExceptionReqImpl req = new ExceptionReqImpl(chromeVM(), true);
+ exceptions.add(req);
return null;
}
@@ -118,7 +124,9 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createScriptLoadRequest()
*/
public ScriptLoadRequest createScriptLoadRequest() {
- return null;
+ ScriptLoadReqImpl req = new ScriptLoadReqImpl(chromeVM(), true);
+ loads.add(req);
+ return req;
}
/* (non-Javadoc)
@@ -132,7 +140,9 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createStepRequest(org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference, int)
*/
public StepRequest createStepRequest(ThreadReference thread, int step) {
- return null;
+ StepReqImpl req = new StepReqImpl(chromeVM(), thread, step, true);
+ steps.add(req);
+ return req;
}
/* (non-Javadoc)
@@ -146,7 +156,9 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createSuspendRequest(org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference)
*/
public SuspendRequest createSuspendRequest(ThreadReference thread) {
- return null;
+ SuspendReqImpl req = new SuspendReqImpl(chromeVM(), thread, true);
+ suspends.add(req);
+ return req;
}
/* (non-Javadoc)
@@ -160,7 +172,9 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createThreadEnterRequest()
*/
public ThreadEnterRequest createThreadEnterRequest() {
- return null;
+ ThreadEnterReqImpl req = new ThreadEnterReqImpl();
+ threadenters.add(req);
+ return req;
}
/* (non-Javadoc)
@@ -174,7 +188,9 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createThreadExitRequest()
*/
public ThreadExitRequest createThreadExitRequest() {
- return null;
+ ThreadExitReqImpl req = new ThreadExitReqImpl();
+ threadexits.add(req);
+ return req;
}
/* (non-Javadoc)
@@ -208,7 +224,9 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createVMDeathRequest()
*/
public VMDeathRequest createVMDeathRequest() {
- return null;
+ VMDeathReqImpl req = new VMDeathReqImpl();
+ deaths.add(req);
+ return req;
}
/* (non-Javadoc)
@@ -222,7 +240,9 @@ public class EventReqManager extends MirrorImpl implements EventRequestManager {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager#createVMDisconnectRequest()
*/
public VMDisconnectRequest createVMDisconnectRequest() {
- return null;
+ VMDisconnectReqImpl req = new VMDisconnectReqImpl();
+ disconnects.add(req);
+ return req;
}
/* (non-Javadoc)
diff --git a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ExceptionReqImpl.java b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ExceptionReqImpl.java
index d715326..d80f388 100644
--- a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ExceptionReqImpl.java
+++ b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ExceptionReqImpl.java
@@ -12,16 +12,40 @@ package org.eclipse.wst.jsdt.debug.internal.chrome.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.ExceptionRequest;
+import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.VMImpl;
/**
- *
+ * {@link ExceptionRequest} impl
+ *
+ * @since 1.0
*/
public class ExceptionReqImpl extends EventReqImpl implements ExceptionRequest {
+ private ThreadReference thread = null;
+
+ /**
+ * Constructor
+ *
+ * @param vm
+ * @param enabled
+ */
+ public ExceptionReqImpl(VMImpl vm, boolean enabled) {
+ super(vm, enabled);
+ }
+
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.ExceptionRequest#addThreadFilter(org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference)
*/
public void addThreadFilter(ThreadReference thread) {
+ this.thread = thread;
}
+ /**
+ * Returns the underlying {@link ThreadReference} this request applies to
+ *
+ * @return the underlying {@link ThreadReference}
+ */
+ public synchronized ThreadReference thread() {
+ return this.thread;
+ }
}
diff --git a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ScritpLoadReqImpl.java b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ScriptLoadReqImpl.java
index 0b949e1..72871dd 100644
--- a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ScritpLoadReqImpl.java
+++ b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/ScriptLoadReqImpl.java
@@ -11,11 +11,22 @@
package org.eclipse.wst.jsdt.debug.internal.chrome.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.ScriptLoadRequest;
+import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.VMImpl;
/**
- *
+ * {@link ScriptLoadRequest} impl
+ *
+ * @since 1.0
*/
-public class ScritpLoadReqImpl extends EventReqImpl implements
- ScriptLoadRequest {
+public class ScriptLoadReqImpl extends EventReqImpl implements ScriptLoadRequest {
+
+ /**
+ * Constructor
+ * @param vm
+ * @param enabled
+ */
+ public ScriptLoadReqImpl(VMImpl vm, boolean enabled) {
+ super(vm, enabled);
+ }
}
diff --git a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/StepReqImpl.java b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/StepReqImpl.java
index 9864e7a..119f69b 100644
--- a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/StepReqImpl.java
+++ b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/StepReqImpl.java
@@ -12,24 +12,42 @@ package org.eclipse.wst.jsdt.debug.internal.chrome.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.StepRequest;
+import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.VMImpl;
/**
- *
+ * {@link StepRequest} impl
+ *
+ * @since 1.0
*/
public class StepReqImpl extends EventReqImpl implements StepRequest {
+ private int stepkind = 0;
+ private ThreadReference thread = null;
+
+ /**
+ * Constructor
+ * @param vm
+ * @param thread
+ * @param step
+ * @param enabled
+ */
+ public StepReqImpl(VMImpl vm, ThreadReference thread, int step, boolean enabled) {
+ super(vm, enabled);
+ this.thread = thread;
+ this.stepkind = step;
+ }
+
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.StepRequest#step()
*/
public int step() {
- return 0;
+ return stepkind;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.StepRequest#thread()
*/
public ThreadReference thread() {
- return null;
+ return thread;
}
-
}
diff --git a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/SuspendReqImpl.java b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/SuspendReqImpl.java
index f2f14b4..5886faa 100644
--- a/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/SuspendReqImpl.java
+++ b/development/org.eclipse.wst.jsdt.debug.chrome/src/org/eclipse/wst/jsdt/debug/internal/chrome/request/SuspendReqImpl.java
@@ -12,17 +12,32 @@ package org.eclipse.wst.jsdt.debug.internal.chrome.request;
import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
import org.eclipse.wst.jsdt.debug.core.jsdi.request.SuspendRequest;
+import org.eclipse.wst.jsdt.debug.internal.chrome.jsdi.VMImpl;
/**
- *
+ * {@link SuspendRequest} impl
+ *
+ * @since 1.0
*/
public class SuspendReqImpl extends EventReqImpl implements SuspendRequest {
+ private ThreadReference thread = null;
+
+ /**
+ * Constructor
+ * @param vm
+ * @param thread
+ * @param enabled
+ */
+ public SuspendReqImpl(VMImpl vm, ThreadReference thread, boolean enabled) {
+ super(vm, enabled);
+ this.thread = thread;
+ }
+
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.request.SuspendRequest#thread()
*/
public ThreadReference thread() {
- return null;
+ return thread;
}
-
}

Back to the top