mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
If the target is suspended because of error display the error message in the Launch view.
This commit is contained in:
parent
5105e23673
commit
a080d56b16
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-12-02 Mikhail Khodjaiants
|
||||
If the target is suspended because of error display the error message in the Launch view.
|
||||
* CDTDebugModelPresentation.java
|
||||
|
||||
2002-12-02 Mikhail Khodjaiants
|
||||
Refactoring org.eclipse.cdt.debug.core - UI changes.
|
||||
|
||||
|
@ -5,6 +9,11 @@
|
|||
'Run to line' and 'Add expression' actions for assembly editor.
|
||||
*plugin.xml
|
||||
|
||||
2002-12-01 Mikhail Khodjaiants
|
||||
Contributing breakpoint actions to asm editor.
|
||||
* plugin.xml
|
||||
* ManageBreakpointRulerActionDelegate.java
|
||||
|
||||
2002-11-29 Mikhail Khodjaiants
|
||||
Cosmetic change for the MemoryView preference page.
|
||||
* plugin.properties
|
||||
|
|
|
@ -10,6 +10,7 @@ import java.text.MessageFormat;
|
|||
import java.util.HashMap;
|
||||
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDIBreakpointHit;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDIErrorInfo;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDIExitInfo;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDISession;
|
||||
import org.eclipse.cdt.debug.core.cdi.ICDISignal;
|
||||
|
@ -363,6 +364,10 @@ public class CDTDebugModelPresentation extends LabelProvider
|
|||
{
|
||||
return target.getName() + " (Breakpoint hit)";
|
||||
}
|
||||
if ( info != null && info instanceof ICDIErrorInfo )
|
||||
{
|
||||
return MessageFormat.format( "{0} (Error: {1})", new String[] { target.getName(), ((ICDIErrorInfo)info).getMessage() } );
|
||||
}
|
||||
if ( info != null && info instanceof ICDISession )
|
||||
{
|
||||
return target.getName() + " (Suspended)";
|
||||
|
|
Loading…
Add table
Reference in a new issue