Code::Blocks Forums

User forums => Help => Topic started by: pca_ on April 13, 2018, 11:08:42 am

Title: How to enable debugger?
Post by: pca_ on April 13, 2018, 11:08:42 am
The debugger is blanked out, I selected the path to gdb32.exe in the settings and enabled debug symbols and restarted .. still blank .. what else could there be?
Title: Re: How to enable debugger?
Post by: oBFusCATed on April 13, 2018, 11:35:47 am
What do you mean by blanked?
Title: Re: How to enable debugger?
Post by: pca_ on April 13, 2018, 11:41:58 am
I mean "start debugger"  cannot be selected ..
Title: Re: How to enable debugger?
Post by: oBFusCATed on April 13, 2018, 11:44:45 am
Do you have a project?
If you don't have a project the debugger won't work.
Title: Re: How to enable debugger?
Post by: pca_ on April 13, 2018, 11:48:25 am
I have a C++ file that builds and runs, and I want to debug it because it crashes ..
Title: Re: How to enable debugger?
Post by: pca_ on April 13, 2018, 11:50:43 am
I dont think it makes a difference if the code is organised as a project or a file .. and I have enabled debugging symbols directly in trhe compiler options so it is not needed in the project options.
Title: Re: How to enable debugger?
Post by: oBFusCATed on April 13, 2018, 12:00:14 pm
The debugger doesn't work if you don't have a project.
This is just how it works.
It probably could be made to work without a project, but at the moment it doesn't.
Title: Re: How to enable debugger?
Post by: pca_ on April 13, 2018, 01:04:11 pm
Ok, I  will try with a project, thanks.