daveleroy / SublimeDebugger

Graphical Debugger for Sublime Text for debuggers that support the debug adapter protocol
MIT License
369 stars 42 forks source link

Search for build tasks in build_systems key also, instead of just debugger_tasks #218

Closed z-aki closed 1 year ago

z-aki commented 1 year ago

In a cmake generated project, build tasks are already populated. But the extension requires a new entry.

https://github.com/daveleroy/SublimeDebugger/blob/a933215da8101d7496e68868a692845673c3983d/modules/project.py#L230

daveleroy commented 1 year ago

Debugger tasks and build tasks aren't the same thing so combining them is just going to lead to cases where things are broken

z-aki commented 1 year ago

VSCode has pre debug build tasks. It's to avoid launching a stale binary after changing code.

daveleroy commented 1 year ago

Thats why debugger_tasks exists but they aren't the same as build_systems and aren't run the same and don't support the same features