News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

How debug Code::Block?

Started by Borneq, August 07, 2014, 03:01:40 PM

Previous topic - Next topic

Borneq

How compile Code::Block under Code::Block with debugging? Fresh source I first must get from SVN? Is any instruction step by step how do it?

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Borneq

I try compile according to http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows. Compilation c:\wxMSW-2.8.12\build\msw>mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
fails with
mingw32-make: *** [gcc_mswudll\monodll_dummy.o] Error 255
Next I try compile d:\svnproj\codeblock\src\CodeBlocks.cbp
is error:
||=== Build: tinyXML in Code::Blocks wx2.8.x (compiler: GNU GCC Compiler) ===|
||unrecognized command line option "-iquote.objs\include"|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|


stahta01

#3
Typical information needed.

OS Name?
Compiler name and version?

Edit: Link to WxWindowsQuickRef http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef#Build_wxWidgets

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Borneq

Windows 8.1
Coe:Blocks cvn 9790
gcc (GCC) 3.4.2 (mingw-special)

stahta01

#5
Quote from: Borneq on August 07, 2014, 07:53:36 PM
Windows 8.1
Coe:Blocks cvn 9790
gcc (GCC) 3.4.2 (mingw-special)


It is very unlikely that version of MinGW GCC will work under Windows 8.1.

Till "gcc version 3.4.5 (mingw-vista special r3)" it has issues working under Windows Vista/7.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]