Ask Your Question
4

Is it not possible to view the output of printf() while debugging in VS Code?

asked 2023-06-07 00:01:25 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-07 00:05:02 +0000

djk gravatar image

It is possible to view the output of printf() while debugging in VS Code. You can use the "Debug Console" window in VS Code to see the output of printf() statements. To open the debug console, go to the "View" menu, select "Debug Console", or use the shortcut key "Ctrl + Shift + Y" (Windows) or "Cmd + Shift + Y" (Mac). Then, when you run your program in debug mode and hit a breakpoint, you should see the output of your printf() statements in the debug console.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-07 00:01:25 +0000

Seen: 20 times

Last updated: Jun 07 '23