Code::Blocks Forums

User forums => Help => Topic started by: warren tang on November 17, 2009, 04:26:38 am

Title: How to use code::Blocks(sample question)
Post by: 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!
Title: Re: How to use code::Blocks(sample question)
Post by: ollydbg on November 17, 2009, 04:30:25 am
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.
Title: Re: How to use code::Blocks(sample question)
Post by: Jenna on November 17, 2009, 06:54:40 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.
Title: Re: How to use code::Blocks(sample question)
Post by: warren tang on November 17, 2009, 08:28:19 am
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.
 
Title: Re: How to use code::Blocks(sample question)
Post by: 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.
"
Title: Re: How to use code::Blocks(sample question)
Post by: Jenna on November 17, 2009, 08:39:59 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 (http://www.codeblocks.org/user-manual)

Topic locked !