martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
564 stars 89 forks source link

Watch expressions crash client debugger #127

Open fearlsgroove opened 9 years ago

fearlsgroove commented 9 years ago

It seems failed watch expressions, or watch expressions with exceptions or fatal errors, can crash the client debugging sliently. Stopping the debugger results in a python bad file descriptor error because the socket isn't open, and looking for the open port doesn't find it.

fearlsgroove commented 9 years ago

I was able to reproduce this with a minimalist index.php by adding these two watch expressions:

$foo['bar']->baz['bunk']
$bunk['baz']->bar['foo'][0]

These variables needn't (even shouldn't) exist.

I'm running mac yosemite, sublimetext 3, connecting to a vagrant machine running ubuntu 14.04 with auto remote callback.