gwomacks/php-debug

Clicking the debugger buttons locks up the server

Opened this issue · 2 comments

When the debugger hits a breakpoint, and I click one of the popover live debug buttons (any except Detach), the buttons all disable and the action is not executed. The server gets locked up until I detach the debugger, and the locals/globals don't reference the point in the code where the breakpoint was anymore.

I'm on macOS High Sierra, Atom 1.28.0. I haven't figured out how initially repro the issue, but once it happens the first time it happens every time I try to debug.

Below is a screenshot of an error that was emitted in the console while this was happening. This does not appear every time I reproduce this issue, though.

image

I figured out part of the issue, I had changed the Max Depth setting to 6 (default 4). Changing it back to 4 fixed the immediate issue, but now I can't see as deeply into my objects when debugging.

What's likely happening is when the max depth is set to a higher value the data packets become so large that either a parsing error is occurring or some some sort of network issue is taking place. I'll try to investigate.