mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 10:45:37 +02:00
If the CDI backend fails when getting the value for a variable put the error message in place of the value string so the user will have some idea what happened.
This commit is contained in:
parent
35ec1e3650
commit
0aa91682cd
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ public class CValue extends AbstractCValue {
|
||||||
}
|
}
|
||||||
catch( CDIException e ) {
|
catch( CDIException e ) {
|
||||||
setStatus( ICDebugElementStatus.ERROR, e.getMessage() );
|
setStatus( ICDebugElementStatus.ERROR, e.getMessage() );
|
||||||
|
fValueString = e.getLocalizedMessage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue