News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

How to use code::Blocks(sample question)

Started by warren tang, November 17, 2009, 04:26:38 AM

Previous topic - Next topic

warren tang

Hi all,
        I use it first,and can't find how to do "single steps debug" ?Its "Debug" option always is invalide status.Then I open "CALL STACK","DISASSEMBLY","BREAKPOINT" flags,which are all gray,and can't show any message when I debug C++ program.
        Many many thanks your help!

ollydbg

Did you have any "debugger" installed???

You don't give us any useful information about your Os, your build toolchain, your C::B version....... thus, no one can help you easily.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Jenna

Quote from: warren tang on November 17, 2009, 04:26:38 AM
Hi all,
        I use it first,and can't find how to do "single steps debug" ?Its "Debug" option always is invalide status.Then I open "CALL STACK","DISASSEMBLY","BREAKPOINT" flags,which are all gray,and can't show any message when I debug C++ program.
        Many many thanks your help!

You can not debug single-files in C::B, you have to use a project.

warren tang

Hi ,
      I only install code::block8.02.Didn't specialy install other plug-in,and I think that Code::Block8.02 has debug default function without install other debug plug-in.Thanks.

warren tang

Hi ,
      I can debug it if I use a project.Then I encounter a new problem,it say"tqproject - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping... " when I compile it.
"

Jenna

Quote from: warren tang on November 17, 2009, 08:34:47 AM
Hi ,
      I can debug it if I use a project.Then I encounter a new problem,it say"tqproject - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping... " when I compile it.
"

(Always) search the forum (and(or the internet) before asking.

Tons of answers about that "issue".

In short install a compiler or correct the toolchain.

Read the manual : http://www.codeblocks.org/user-manual

Topic locked !