User forums > Help

Debugging an imported project to Code:blocks

(1/1)

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.

Navigation

[0] Message Index

Go to full version