Author Topic: breakpoint, gui, checkcpp  (Read 5509 times)

Offline soican

  • Single posting newcomer
  • *
  • Posts: 6
breakpoint, gui, checkcpp
« on: February 17, 2014, 09:38:05 am »
1. i cant understand how breakpoint work!!! i used it on radXE c++ it was simple: put break point, push debug, program stops on it, this strategy doesnt work on CB. I'm really annoyed by it, Can you help me by advance?
2. Does exist any Gui for CB? never think about it, but it can be cool
3. and cppcheck, i m really slowpoke maybe but again fail "failed to launch cppCheck bla bla" how it works?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: breakpoint, gui, checkcpp
« Reply #1 on: February 17, 2014, 11:32:01 am »
1) may be you have not build the debug build, so the debugger can`t find the debug symbols. Please post the debug log, for more information.
2) what do you mean by gui? C::b has a gui, it is not a console program, or does c::b looks like cat? You may be looking for wxwidgets. C::b has a gui builder for this framework. Its called wxsmith.
3) cppcheck is only a plugin. You have to install cppcheck manually...

Offline soican

  • Single posting newcomer
  • *
  • Posts: 6
Re: breakpoint, gui, checkcpp
« Reply #2 on: February 17, 2014, 02:14:06 pm »
look at this, simple example, my actions: push step into, then debug/continue(or go to cursor), program doesn't stop at my breakpoint,

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: breakpoint, gui, checkcpp
« Reply #3 on: February 17, 2014, 02:19:37 pm »
look at this, simple example, my actions: push step into, then debug/continue(or go to cursor), program doesn't stop at my breakpoint,
You still did not provide your full build log. Again: Most likely you missed to compile with debug symbols or stripped them afterwards.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline soican

  • Single posting newcomer
  • *
  • Posts: 6
Re: breakpoint, gui, checkcpp
« Reply #4 on: February 17, 2014, 02:35:31 pm »
man, its unbelievable, when i create folder with program with same code not at c/bla-bla-bla/breakpoint/breakpoint.cbp but at c/breakpoint/breakpoint.cbp  debug start working as it should. 
etc my build log has nothing: "------------- Build: Debug in breakpoint (compiler: GNU GCC Compiler)---------------
Target is up to date.
Nothing to be done (all items are up-to-date)"