Editor: missing values from enclosing activations #19577
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
closed-duplicate
Closed in favor of an existing report
type-enhancement
A request for a change that isn't a bug
When paused at the throw, I expect the display for the activation of the inner to display the receiver and the locals. E.g., Foo.inner() should display this, x, y, and z.
In less trivial examples the activations of inner and outer can be far apart on the stack--and may be separated by other activations of the same functions with different enclosing contexts or different receivers--making it difficult to find the values of variables in the context one is looking at.
class Foo extends Super {
foo() {
var x = 1;
outer() {
var y = 2;
inner() {
var z = 3;
throw "x";
}
inner();
}
outer();
}
}
The text was updated successfully, but these errors were encountered: