Repository navigation
How to pipe stdout into another program when using debugger? #7385
Unanswered
Nicolas Jakob (njakob)
asked this question in
Q&A
Replies: 1 comment
|
I'm trying to redirect the debug console output to .txt or pipe "args": [
"| tee -a ${workspaceFolder}/info.txt"
], "args": [
" > ${workspaceFolder}/info.txt"
], "args": [
" > ",
"${workspaceFolder}/info.txt"
],but all above ,do not work , can not see the info.txt file. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello!
I'm trying to pipe the standard output of the debugged application into another program while using gdb through VS code. More concretely, I'm trying to transform the output through
jq.This can be achieved directly with gdb:
$ gdb ./a.out (gdb) run | jqIs there a way through the
launch.jsonconfiguration file to achieve the same?All reactions