Author Topic: Debugging with Code::Blocks  (Read 4676 times)

Offline aliosa_sbbv

  • Single posting newcomer
  • *
  • Posts: 2
Debugging with Code::Blocks
« on: March 12, 2012, 02:51:12 pm »
Hello
I am Newbie with Code::Blocks.
I would like to use Code::Blocks with MinGW64 but I have some concerns.
I have a project in C++ and I want to use Code::Blocks to compile it on Windows/Suse Linux 32/64 bit.
Till now, I use Visual Studio on Windows for many years and I use QT Creator for few months.
The main concern is debugging.
In QT Creator, on Windows / Linux,  I have big problems because I can not see the values of complex structures (vectors, tree, unicode strings).
This could be solved with python scripts I heard.

Does Code::Blocks work fine regarding this issue ?
Is it really Code::Blocks a smart IDE to make full and fine debug ?

Or I have to write some scripts ?

The project have an user interface for Windows and for Linux.
For Windows I use old style code for windows  ( with WNDCLASSEX structure , NOT MFC) and for Linux I use qt classes.

Can I compile the project with the proper libraries for a specific target ?

I would not install Visual Studio or QT SDK on client PC.
I want to carry the needed libraries.

It is possibile ?


I have glanced on this forum and I got scared how many problems are with Code::Blocks.
Thank you for your oppinions.

Best regards,
Alin








Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debugging with Code::Blocks
« Reply #1 on: March 12, 2012, 03:10:30 pm »
Does Code::Blocks work fine regarding this issue ?
Is it really Code::Blocks a smart IDE to make full and fine debug ?
It is usable, but it is not as good as using visual studio's debugger.
Also gdb (the debugger we are using) is not as good on windows as on linux.
We are working on the debugger, but it takes time...

Or I have to write some scripts ?
It depends on your goals and what is available at the moment.
As far as I know there are pretty printer scripts for stl and parts wx.
I think the qt people also have their printers. You have to check.

I have glanced on this forum and I got scared how many problems are with Code::Blocks.
Thank you for your oppinions.
Have you glanced at the VStudio's support forums?
I'm pretty sure they have more problem reports than us :)
The reason is that they have more users of course, but on the other hand they are working on their IDE full time
and here we work in our free time.

Also most of the problem reports are from newbies, who don't make a difference between an IDE and compiler/linker/debugger.

Edit: in order to test the latest debugging features in C::B you need the latest nightly from the debugger's branch.
« Last Edit: March 12, 2012, 03:27:40 pm by oBFusCATed »
(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!]