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

Offline ystoffman

  • Single posting newcomer
  • *
  • Posts: 3
Debugging an imported project to Code:blocks
« on: November 26, 2017, 02:38:33 pm »

I imported a project into code::blocks

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."


« Last Edit: November 26, 2017, 03:01:42 pm by ystoffman »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11126
    • Travis build status
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.
(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!]