stack command: -full flag prints local variables and arguments of all the functions on the stack trace

This commit is contained in:
aarzilli
2015-09-17 10:42:34 +02:00
parent 6527f15e4d
commit da39258bec
14 changed files with 276 additions and 74 deletions

View File

@ -327,5 +327,5 @@ func (thread *Thread) Scope() (*EvalScope, error) {
if err != nil {
return nil, err
}
return &EvalScope{Thread: thread, PC: locations[0].PC, CFA: locations[0].CFA}, nil
return locations[0].Scope(thread), nil
}