devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Add a view where I can see code snippets for every frame in the stack

Open natebosch opened this issue 6 years ago • 3 comments

Observatory has a really cool UI where you can expand and collapse the code snippet around each frame in the stack. This makes it easier to understand where you are without jumping across files and lines in a view limited to a single file.

Can we replicate this?

natebosch avatar Sep 25 '19 22:09 natebosch

stack_frames

natebosch avatar Sep 25 '19 22:09 natebosch

I have not seen this before! Nate, can you give repro steps in Observatory? thanks

kenzieschmoll avatar Sep 26 '19 16:09 kenzieschmoll

  • Set a breakpoint and hit it
  • Navigate to the debugger page
  • Each "Frame N" line has an arrow on the right of the screen when you mouseover, click the arrow to expand any frames

natebosch avatar Sep 26 '19 16:09 natebosch