Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.core.model
Interface ISuspendResume

All Known Subinterfaces:
IDebugTarget, IStackFrame, IThread

public interface ISuspendResume

Provides the ability to suspend and resume a thread or debug target.

Clients may implement this interface.


Method Summary
 boolean canResume ()
          Returns whether this element can currently be resumed.
 boolean canSuspend ()
          Returns whether this element can currently be suspended.
 boolean isSuspended ()
          Returns whether this element is currently suspended.
 void resume ()
          Causes this element to resume its execution, generating a RESUME event.
 void suspend ()
          Causes this element to suspend its execution, generating a SUSPEND event.
 

Method Detail

canResume

boolean canResume()
Returns whether this element can currently be resumed.

Returns:
whether this element can currently be resumed

canSuspend

boolean canSuspend()
Returns whether this element can currently be suspended.

Returns:
whether this element can currently be suspended

isSuspended

boolean isSuspended()
Returns whether this element is currently suspended.

Returns:
whether this element is currently suspended

resume

void resume()
            throws 
DebugException
Causes this element to resume its execution, generating a RESUME event. Has no effect on an element that is not suspended. This call is non-blocking.

Throws:
DebugException - on failure. Reasons include:
  • TARGET_REQUEST_FAILED - The request failed in the target
  • NOT_SUPPORTED - The capability is not supported by the target

suspend

void suspend()
             throws 
DebugException
Causes this element to suspend its execution, generating a SUSPEND event. Has no effect on an already suspended element. Implementations may be blocking or non-blocking.

Throws:
DebugException - on failure. Reasons include:
  • TARGET_REQUEST_FAILED - The request failed in the target
  • NOT_SUPPORTED - The capability is not supported by the target

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire