Code::Blocks Forums

User forums => Embedded development => Topic started by: andres_jk on August 26, 2012, 06:23:14 pm

Title: Embedded Console CodeBlocks
Post by: andres_jk 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
Quote
Setup using option 2 "Launch tool hidden ..."

Exe: ${TARGET_OUTPUT_BASENAME}
Dir: ${TARGET_OUTPUT_DIR}

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.
Title: Re: Embedded Console CodeBlocks
Post by: oBFusCATed 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.
Title: Re: Embedded Console CodeBlocks
Post by: scarphin 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.