#345 Debugger hangs under windows

v0.4.x
closed-fixed
Stephan Ruehl
Debugger (177)
5
2006-12-03
2006-11-24
Jan Ploski
No

The debugger appears unusable for multi-frame CGI debugging under Windows because it tends to lock up/hangs/freezes the whole workbench, especially (but not only) if the "suspend at first statement" feature is disabled.

The fault seems to lie in PerlDB.java, where waitForCommandFinished is reentrant - meaning that multiple threads may attempt reading from the same stream, a sure recipe for deadlocks.

This observation reinforces my feeling that the code in PerlDB.java is a catastrophe and requires a complete rework.

Discussion

  • Jan Ploski
    Jan Ploski
    2006-12-03

    Logged In: YES
    user_id=86907
    Originator: YES

    Fixed in 0.5.23 (hopefully).

     
  • Jan Ploski
    Jan Ploski
    2006-12-03

    • status: open --> closed-fixed