mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-03 05:33:33 +02:00
Added a check for failed getModelData() retrieval.
This commit is contained in:
parent
90fc9e59f0
commit
1b5793e2e0
1 changed files with 6 additions and 1 deletions
|
@ -270,7 +270,12 @@ public class VariableLocalsLayoutNode extends AbstractDMVMLayoutNode<IExpression
|
||||||
// Now that all the calls to getModelData() are complete, we create an
|
// Now that all the calls to getModelData() are complete, we create an
|
||||||
// IExpressionDMContext object for each local variable name, saving them all
|
// IExpressionDMContext object for each local variable name, saving them all
|
||||||
// in an array.
|
// in an array.
|
||||||
|
|
||||||
|
if (!getStatus().isOK()) {
|
||||||
|
handleFailedUpdate(update);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
IExpressionDMContext[] expressionDMCs = new IExpressionDMContext[localsDMData.size()];
|
IExpressionDMContext[] expressionDMCs = new IExpressionDMContext[localsDMData.size()];
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue