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:
parent
a5a6ab9bbc
commit
c160a19758
1 changed files with 9 additions and 0 deletions
|
@ -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 );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue