1
0
Fork 0
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:
Mikhail Khodjaiants 2003-05-07 17:24:56 +00:00
parent 068e671281
commit 2daeadc115
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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(),