ruby-debug / debase

BSD 2-Clause "Simplified" License
209 stars 32 forks source link

Fix suspensions in debugger source code (replacement for an old, bad fix) #73

Closed ViugiNick closed 5 years ago

ViugiNick commented 5 years ago

We don't want to suspend in debugger source code! The most optimal solution is to record a number of service(~debugger) frames and don't handle suspensions in them. After suspension in debugger source code(which was ignored by us) we assume, that for current thread script is over, and we don't need to suspend in it anymore. But we can't disable the whole tracing, because some threads can be active

It should fix ruby-debug-ide tests