User forums > Help
Setting to prevent me debugging a Release build
(1/1)
tigerbeard:
I thought i had seen a settings for this but I can not find it any more nor a forum post about it.
I happen to waste a lot of time recently by starting the debugger on a Release build by accident and realizing it too late (when no breakpoints work).
I would like CodeBlocks to prevent me doing that or give me a nagging dialog "Your build has no debug symbols set.Are you sure?"
Is there an option somehwere?
everSome:
You'll have to build a nightly yourself to accomplish this. After compiling the source, an update script is run that copies all appropriate files into an output directory. Within this script you'll see three commands of the form:
REM echo Stripping debug info from output tree
strip "%CB_OUTPUT_DIR%/*.exe"
strip "%CB_OUTPUT_DIR%/*.dll"
strip "%CB_OUTPUT_RESDIR_STRIP%/plugins/*.dll"
delete/comment out these commands.
stahta01:
The last person with a question like this check marked the do not annoy me again box and it did not do what he wanted.
You might look for where to disable that option. The poster before me thought you want to debug Code::Blocks, if that is what you want to do ignore my post and follow his.
Look under Settings -> Environment [Disabled Dialogs]
Tim S.
Navigation
[0] Message Index
Go to full version