inspectdev / inspect-issues

Issue tracker for Inspect
22 stars 2 forks source link

Debugger: Callstack, variable scopes and hovers are blank when hitting a breakpoint #62

Closed samholmes closed 3 years ago

samholmes commented 3 years ago

Steps to reproduce:

  1. Open the debugger on a connected device
  2. Open Source tab
  3. Set a breakpoint
  4. Wait for breakpoint to be reached

What happens:

Call stack is blank.

Screen Shot 2021-05-04 at 5 20 07 PM

Hovering over state show no information.

Screen Shot 2021-05-04 at 5 23 34 PM

Even the console doesn't print information.

Screen Shot 2021-05-04 at 5 30 38 PM

I apologize for the brevity here. Some more information:

auchenberg commented 3 years ago

@samholmes Thanks for the report Sam! So to understand this correctly you are:

  1. Able to set breakpoints
  2. Hit that breakpoint
  3. But the variable scopes and hovers aren't working + the console isn't in the right context?

Q: Are the callstack available?

samholmes commented 3 years ago

Correct about all three points.

As shown in OP, the call stacks aren’t available either.

auchenberg commented 3 years ago

@samholmes Alrighty. Looks like some mapping between Webkit and Chrome isn't working as expected.

auchenberg commented 3 years ago

@samholmes I can't reproduce this. Can you elaborate more about the codebase? How is the app built? TypeScript?

samholmes commented 3 years ago

Seems to be fixed as of version 0.7.2