Author Topic: Debugging an imported project to Code:blocks  (Read 145 times)

Offline ystoffman

  • Single posting newcomer
  • *
  • Posts: 3
Debugging an imported project to Code:blocks
« 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
 
« Last Edit: November 26, 2017, 03:01:42 pm by ystoffman »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10403
Re: Debugging an imported project to Code:blocks
« Reply #1 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.
<debugger plugin maintainer>
(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!]