Code :: Blocks: how to work in the IDE?

When I request CodeBlocks to launch my embedded application, it launches a terminal window and launches the application in this window. How can I instead run it in the IDE log window?

+3
source share
1 answer

This is something that is not implemented in Code :: Blocks as such.

The target executable files are launched directly from the IDE (without a console) or through a program consolerunnerthat calls any terminal that matches (for example, cmd for Windows, xterm for Linux) and, possibly, requests a key after the process has exited. Which one (terminal or no terminal) depends on the "Type" field in the "Project Properties" window ("Configure Targets" tab).

However, if you absolutely want to, you can get the effect of starting in the log window indirectly by executing your program as a step after assembly. In this case, your stdout and stderr programs will appear in the build log tab.

0
source

Source: https://habr.com/ru/post/1727756/


All Articles