[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[theia-dev] Debugger architecture musings
|
Hi Folks,
I've been looking at the Theia debugger recently and are a couple of things which are odd:
1. The DebugService lives on the back-end.
I believe the Idea originally was to reconnect to debug sessions after doing a refresh. But since the DebugService lives in connection scope and kills all sessions upon dispose, I don't think that will ever work anyway. So why not just move the DebugService to the front end? It's how most other services work.
2. There is a "PluginDebugService" which replaces the DebugServiceImpl, but still forwards to that implementation. That quite different from other services, where we have a general service that can be extended with contributions with specialized contributions for stuff contributed via VSCode API. I believe this choice is because of the first point above.
Wondering if others agree with this assessment and whether it would be worthwhile to simplify the architecture along these lines? Comments, please?
/Thomas