Author Topic: Embedded Console CodeBlocks  (Read 6371 times)


  • Guest
Embedded Console CodeBlocks
« on: August 26, 2012, 06:23:14 pm »
Hello, the first thing i would like to ask if is there someway to put an embedded console inside codeblocks that could work when debugging, i mean, i made one like this
Setup using option 2 "Launch tool hidden ..."


NOTE: You need to have "Code::Blocks" log open before running on at least SVN 6564 or it crashes.

Tim S.
by user "stahta01"

it excecutes the whole code, and i can't use it for debugging, is there another way of making an embedded output display?.
I mean, i want to debug, but i want to get the output in a window inside codeblocks, i don't want to put "excecute next line", and have to switch to cmd window, and so on.

Thanks a lot.

EDIT: removed second question.
« Last Edit: August 26, 2012, 07:58:28 pm by andres_jk »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11939
    • Travis build status
Re: Embedded Console CodeBlocks
« Reply #1 on: August 26, 2012, 06:30:16 pm »
Hm, can you try to explain better what do you want to achieve?
I couldn't understand a thing about both of them.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: Embedded Console CodeBlocks
« Reply #2 on: August 26, 2012, 07:47:27 pm »
If you're asking for a tool like a terminal window (that's in connection with you microcontroller over rs232 or something), that doesn't quite fall into the scope of Codeblocks. But you can launch one using the tools menu with specific command line settings if that's enough for you. Or if you are asking for something like the ones available with microcontroller specific IDEs, Codeblocks has lots many features for GDB like debuggers. Or you are asking for something else which I can't comment about.

Another question, How can i make code in 16 bits?, (i'm gonna use it for microcontrollers).
That depends on what compiler you're using. CB is not a compiler just an IDE. If you not experienced with microcontroller programming then this is not the right place to ask questions about them. You should consult a forum related with the microcontroller and its corresponding compiler you'll use.