WebFreak001 / code-debug

Native debugging for VSCode
The Unlicense
401 stars 116 forks source link

target-async, an alias for mi-async, is deprecated #297

Open GitMensch opened 2 years ago

GitMensch commented 2 years ago

When using GDB 11.1 (over ssh but this should not matter) the user is prompted with a deprecation message:

Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

It may be reasonable to either query the GDB version or execute that depending on a launch configuration option.

GitMensch commented 2 years ago

Just rechecked for the Vim TermDebug plugin which used both "to ensure everything is fine" - set mi-async is a GDB 7.8 feature (Released Jul 2014), which also comes with -gdb-set mi-async option. @WebFreak001: Do you know what GDB version this extension currently needs? The minimal supported versions of GDB/LLDB are missing in README.md.

What do you think of:

GitMensch commented 2 years ago

So some months passed. I'd actually suggest to: