mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-02 21:23:37 +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
|
@ -271,6 +271,11 @@ public class VariableLocalsLayoutNode extends AbstractDMVMLayoutNode<IExpression
|
|||
// IExpressionDMContext object for each local variable name, saving them all
|
||||
// in an array.
|
||||
|
||||
if (!getStatus().isOK()) {
|
||||
handleFailedUpdate(update);
|
||||
return;
|
||||
}
|
||||
|
||||
IExpressionDMContext[] expressionDMCs = new IExpressionDMContext[localsDMData.size()];
|
||||
|
||||
int i = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue