mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Set the error status if the debug target is suspended because of an error.
This commit is contained in:
parent
068e671281
commit
2daeadc115
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-05-07 Mikhail Khodjaiants
|
||||
Set the error status if the debug target is suspended because of an error.
|
||||
* CDebugTarget.java
|
||||
|
||||
2003-05-06 Mikhail Khodjaiants
|
||||
Check if the underlying debugger supports expression evaluation in the "canEvaluate" method.
|
||||
* CDebugTarget.java
|
||||
|
|
|
@ -58,6 +58,7 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDIThread;
|
|||
import org.eclipse.cdt.debug.core.cdi.model.ICDIWatchpoint;
|
||||
import org.eclipse.cdt.debug.core.model.ICAddressBreakpoint;
|
||||
import org.eclipse.cdt.debug.core.model.ICBreakpoint;
|
||||
import org.eclipse.cdt.debug.core.model.ICDebugElementErrorStatus;
|
||||
import org.eclipse.cdt.debug.core.model.ICDebugTarget;
|
||||
import org.eclipse.cdt.debug.core.model.ICDebugTargetType;
|
||||
import org.eclipse.cdt.debug.core.model.ICExpressionEvaluator;
|
||||
|
@ -1461,6 +1462,7 @@ public class CDebugTarget extends CDebugElement
|
|||
|
||||
private void handleErrorInfo( ICDIErrorInfo info )
|
||||
{
|
||||
setStatus( ICDebugElementErrorStatus.ERROR, ( info != null ) ? info.getMessage() : null );
|
||||
if ( info != null )
|
||||
{
|
||||
MultiStatus status = new MultiStatus( CDebugCorePlugin.getUniqueIdentifier(),
|
||||
|
|
Loading…
Add table
Reference in a new issue