mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[234450] - [registers] ClassCastException in RegisterVMProvider.
This commit is contained in:
parent
614db74131
commit
8f20c097dc
1 changed files with 15 additions and 13 deletions
|
@ -153,6 +153,7 @@ public class RegisterVMProvider extends AbstractDMVMProvider
|
|||
* specific. If it were to become so then we would need to modify this policy.
|
||||
*/
|
||||
Object element = update.getElement();
|
||||
if (element instanceof IDMVMContext) {
|
||||
IDMContext ctx = ((IDMVMContext) element).getDMContext();
|
||||
|
||||
IExecutionDMContext execDmc = DMContexts.getAncestorOfType(ctx, IExecutionDMContext.class);
|
||||
|
@ -166,6 +167,7 @@ public class RegisterVMProvider extends AbstractDMVMProvider
|
|||
update.done();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* If we reach here, then we did not override the standard behavior. Invoke the
|
||||
|
|
Loading…
Add table
Reference in a new issue