News:

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

Main Menu

Debugging an imported project to Code:blocks

Started by ystoffman, November 26, 2017, 02:38:33 PM

Previous topic - Next topic

ystoffman

Hi,

I imported a project into code::blocks https://github.com/GATB/dsk

I had to create a new empty project and then add the project directory so that the actual source directory is next to the project directory (dev/dsk/ and dec/code_blocks_dsk/  )

I was able to build the project, what I was unable to was to debug (having an active break point and that the IDE will stop at that point)

I changed the "Make" command to the debug mode as with instructions of the project (calling the make file with CMAKE_BUILD_TYPE=debug) but to no avail.
the most relevant message I see from the debug console is:
"(no debug symbols found)... done."

ideas?

Thanks,
Yoni

oBFusCATed

CMAKE_BUILD_TYPE=debug is probably something you need to pass to cmake and not make.
Also have you tried to use one of the codblocks generators for cmake?
Execute cmake -G for the list of options.
(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!]