Developer documentation

From Code::Blocks
Revision as of 02:29, 8 April 2014 by Ollydbg (talk | contribs) (→‎Debugging C::B: link to wx debug library)

Official Code repository Subversion

Mirror by biplab (Read-only; refreshed every 10 minutes.)

Mirror by Jens (Read-only; refreshed every 10 minutes.)

  • Web-interface: http://cgit.jenslody.de/
  • the above link contains many mirrors such as wxWidgets trunk, git mirror, and git mirror of codeblocks.github

Mirror by Obf (Read-only; refreshed manually.)


Articles for Code::Blocks developers.

  • Documentation
User's manual in various formats and languages.
Also see http://developer.berlios.de/projects/codeblocks/ (under the downloads section).
Checkout the SDK documentation at http://developer.berlios.de/project/showfiles.php?group_id=5358 as CHM file(s).
  • Compile the complete Code::Blocks from sources on Windows and Linux
Code::Blocks uses Launchpad to coordinate translation efforts.
The source code formatting style used in the Code::Blocks' source.
How to add support for new syntax lighting schemes.
Creating a diff file and then submitting it to the patch tracker.
Information about unicode standards and how unicode is handled in Code::Blocks' source code.
List of various development tips for Code::Blocks.
Information about scripting Code::Blocks with Squirrel.
Information about the architecture of Code::Blocks.
Information about the Code::Blocks SDK events and how to work with them.
Description of the format of each file Code::Blocks produces.
Tips and trick for working with our version control system.

Plug-In development

Scripting

Using scripting to extend Code::Blocks' functionality

Debugging C::B

  • When C::B crashed, it will generate a call-stack file "codeblocks.RPT", at the crash point, this is a text file, you can open it, if your C::B contains the debug information, it will have file and line information about each call. If it is a stripped version, but you have the debug version of C::B, you can try to run the [/index.php/topic,13129.msg88254.html#msg88254 Debugging made easier], this is a address2line UI interface works under Windows.
  • You can debug C::B under C::B (with the debugger plugin), also, you can link C::B to the debug version of wxWidgets library, so you can see whether a bug is located in C::B source code or wxWidgets' source code, see here: [/index.php/topic,17316.msg130972.html#msg130972 patch to build C::B against wx debug library]