Closed Bug 1421889 Opened 7 years ago Closed 5 years ago

debugger: a watched variable only shows when on the topmost level in the call stack

Categories

(DevTools :: Debugger, defect)

57 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mhammar31, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171112125346

Steps to reproduce:

In the debugger: 
I added a watched variable in the variable panel. ( sorry if that is the wrong name ), my debugger in unfortunatelly in swedish, so I really don't know the terminology in english ) 


Actual results:

Anyway, when then selecting different leveln in the codestack, that watched variable only shows when on the topmost level, when I choose other levels, it simply disappears. That is unfortunate, because often one might want to follow how a variable changes. The problem is compounded by another bug I just reported. WHEN the watch actually IS shown, the context i often global. So a this pointer i shown as Window, and if I choose some other level in the code stack it is not shown at all.


Expected results:

The watched variables should not disappear when selecting layers in the code stack. They should match the context so you can see how they change during the execution.
Component: Untriaged → Developer Tools: Debugger
Product: Firefox → DevTools

this relates to the old debugger

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: