code-debug
code-debug copied to clipboard
move extension logging/messages from debugging pane to output pane
I suggest to move any logging output from the debug pane to a separate (new) output pane "native-debug"; benefits:
- when "printCalls" and/or "showDevDebugOutput" (or log output) is active: much more easy to separate the GDB/application output and the logging (it currently tends to get a bit confusing)
- still can be shown "in parallel" (next to the debug pane)
- would preserve the entries also when debugging ended, which can be useful for bug reports (and also for "just check").
I volunteer to do that, mainly waiting for a go/assignment by @WebFreak001
While it is possible to import vscode - using it breaks the backend.
When this is done we could easily use an output pane via:
import { OutputChannel, window } from "vscode";
const LogOutputChannel: OutputChannel = window.createOutputChannel("code-debug");
LogOutputChannel.appendLine(msg);
Actually a follow-up to #217.