mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
2004-11-02 Alain Magloire
Tentative fix for PR 77435 * cdi/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java
This commit is contained in:
parent
2473fc9bad
commit
c1db45f6f6
2 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-11-02 Alain Magloire
|
||||
Tentative fix for PR 77435
|
||||
* cdi/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java
|
||||
|
||||
2004-10-31 Alain Magloire
|
||||
Tentative fix for PR 74496
|
||||
|
||||
|
|
|
@ -260,8 +260,21 @@ public class VariableManager extends Manager {
|
|||
String fullName = varDesc.getFullName();
|
||||
int pos = varDesc.getPosition();
|
||||
int depth = varDesc.getStackDepth();
|
||||
|
||||
checkType(frame, type);
|
||||
|
||||
// Check the type validity.
|
||||
{
|
||||
StackFrame f = frame;
|
||||
if (f == null) {
|
||||
if (thread != null) {
|
||||
f = thread.getCurrentStackFrame();
|
||||
} else {
|
||||
Thread t = (Thread)target.getCurrentThread();
|
||||
f = t.getCurrentStackFrame();
|
||||
}
|
||||
}
|
||||
checkType(f, type);
|
||||
}
|
||||
|
||||
VariableDescriptor vo = null;
|
||||
|
||||
if (varDesc instanceof ArgumentDescriptor || varDesc instanceof Argument) {
|
||||
|
|
Loading…
Add table
Reference in a new issue