adventuregamestudio / ags

AGS editor and engine source code
Other
707 stars 159 forks source link

Feature request: Support Debug Adapter Protocol for AGS Script #1140

Open persn opened 3 years ago

persn commented 3 years ago

Similar to #1067

This is basically the same principle as in the linked issue so I'll just copy paste an explanation for the microsoft page https://microsoft.github.io/debug-adapter-protocol/

The Debug Adapter Protocol makes it possible to implement a generic debugger for a development tool that can communicate with different debuggers via Debug Adapters. And Debug Adapters can be re-used across multiple development tools which significantly reduces the effort to support a new debugger in different tools.

The debugging tools in AGS are not very feature complete ASFAIK, and not cross platform, so a rework is probably something that needs to happen sometime. When it does, we should consider DAP.

ivan-mogilko commented 3 years ago

Can't say I fully understand the meaning of this. What are prerequisites for this task, was has to be changed in AGS or AGS script?

The reason I ask is mostly that I am concerned about this and similar tickets, as they do not seem like something anyone from the main devs will be working on right now, or not even in observable future They also seem to rely on certain assumed future changes in AGS yet do not explain clearly what these should be. At the same time they are kept in our issue tracker, and look more like personal notes.

Would it be perhaps better for now to open one general ticket meant for discussing this group of tasks? Where it will be clearly stated what the problem is, how these suggested tools will solve it, and what has to be done within AGS project - for people unfamiliar with the topic.