1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

Added the implementation of the 'terminate' method.

This commit is contained in:
Mikhail Khodjaiants 2002-08-15 23:02:05 +00:00
parent a5a6ab9bbc
commit c160a19758

View file

@ -338,6 +338,15 @@ public class CDebugTarget extends CDebugElement
*/ */
public void terminate() throws DebugException public void terminate() throws DebugException
{ {
try
{
setTerminating( true );
getCDITarget().terminate();
}
catch( CDIException e )
{
targetRequestFailed( MessageFormat.format( "{0} occurred while terminating.", new String[]{ e.toString() } ), e );
}
} }
/** /**