Pernosco / pernosco

General-purpose public wiki and issue tracking
12 stars 0 forks source link

Printing local variables in the "executions of a line" view sometimes doesn't work #12

Closed theres-waldo closed 4 years ago

theres-waldo commented 4 years ago

Steps to reproduce

  1. Open this recording
  2. Open the executions of nsLayoutUtils::ComputeScrollMetadata and select any one
  3. In the Source view, click on line 9021. Observe that on this line, a variable named scrollId whose type (after typedef resolution) is uint64_t, is in scope.
  4. In the "executions of nsLayoutUtils.cpp:9021" view, enter "scrollId" into the expression to print field

Expected results

Each execution prints a numeric value.

Actual results

Each execution just prints the characters "scrollId".

khuey commented 4 years ago

Thanks for reporting. We aren't traversing the scope chain correctly here. This is fixed (71686639674ea19bbb83e79516a1cc94ab7f567e) and will deploy in a day or so.