Code::Blocks Forums

User forums => Help => Topic started by: ystoffman on November 26, 2017, 02:38:33 pm

Title: Debugging an imported project to Code:blocks
Post by: ystoffman on November 26, 2017, 02:38:33 pm
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
 
Title: Re: Debugging an imported project to Code:blocks
Post by: oBFusCATed on November 26, 2017, 04:19:14 pm
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.