Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Stopping Execution Of C++ Console Application After Errors v20.03 linux
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Stopping Execution Of C++ Console Application After Errors v20.03 linux (Read 2498 times)
EverydayDiesel
Multiple posting newcomer
Posts: 11
Stopping Execution Of C++ Console Application After Errors v20.03 linux
«
on:
April 27, 2020, 07:55:03 am »
Hello,
I upgrade to CodeBlcoks v20.03 and now, after hitting F8 to compile, if there is an error it continues program execution anyways. What settings do I need to change to halt execution if there is an error while compiling?
Thanks in advance!
Logged
stahta01
Lives here!
Posts: 7590
Re: Stopping Execution Of C++ Console Application After Errors v20.03 linux
«
Reply #1 on:
April 27, 2020, 11:00:11 am »
If the problem is that it continues building after the first error try this:
Settings -> Compiler
Tab: Build Options
Option max number of errors to log: Set to 1 (I normally use 10 or 0)
Tim S.
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
EverydayDiesel
Multiple posting newcomer
Posts: 11
Re: Stopping Execution Of C++ Console Application After Errors v20.03 linux
«
Reply #2 on:
April 27, 2020, 03:27:11 pm »
hello i tried 1 and 10 and it seemed to work about half of the time.
this is crazy that it continues execution when there are compile errors
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: Stopping Execution Of C++ Console Application After Errors v20.03 linux
«
Reply #3 on:
April 27, 2020, 07:31:32 pm »
F8 is the shortcut for Debug -> Start.
Is this the command you're executing?
You can check if there isn't disabled dialog in Settings -> Environment -> Disabled dialogs.
Logged
(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!]
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Stopping Execution Of C++ Console Application After Errors v20.03 linux