Code::Blocks and Debugging

The Code::Blocks IDE includes a 32-bit version of the GCC compiler suite (mingw) along with the GNU Debugger or GDB which may be sufficient for most purposes.  Microsoft’s Code Debugger (CDB) is also supported, however, it must be downloaded separately.

To get a copy of the latest debugging tools from Microsoft, visit the Download the WDK, WinDbg, and associated tools page.  To learn more about the WDK, visit the Windows Driver Kit page.

As discussed in ahttps://averlytics.com/2017/02/21/codeblocks-tdm-gcc-installation/ previous post, The GCC compiler suite can be downloaded separately and the installation can be customized to suite your requirements.  Visit our post “Code::Blocks TDM GCC Installation” for detailed instructions to successfully install the GCC compiler suite on your machine.

I am currently reviewing “Application Development with Code::Blocks” by Modak, Biplab Kumar, Packt Publishing – Kindle Edition” and though the effort is well intended, there are gaps in the presentation and discussion.

The content of the book does not reflect the latest version of Code::Blocks and several errors in the text have been noted.  The presentation of information is far from thorough and the editing is carelessly weak.

At this point, the book has served to create an outline of questions and topics to search online.  By way of example, chapter 2 briefly introduces workspaces and working with multiple files in a given project – specifically external files and libraries.  The primary example for creating a library requires conio2.h and the supporting library file.

The text suggests that the compiled library file accompanies the book, however, it is not included with the code files listed against the book’s title on the Packt website and is clearly not “inside” my e-book version.  I downloaded and compiled a copy of the source code from SourceForge.net as referenced by the book.

Building / compiling conio2 from source could have served as a perfect candidate for building a library file using Code::Blocks and introducing make files.  Also, there are more features / capabilities available in conio2 than required by the example.

The book is a little more work than expected and not as polished as I would have hoped for.  At a minimum, the book does demonstrate the intended purpose of using Code::Blocks for C++ application development.  The review continues.

Until Next Time …

 

 

 

vergence-logo-square-e1388368184851

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s