Bug #18939 2013-03-20 21:40

mshopf

Build + Run (F9) clears log even if warnings occured

If you hit "Build + Run" the log is cleared just after compilation succeeded, before running the program. So if you have a build without errors, but with warnings, the user might think that the compilation was flawless, and will have a hard time to figure out the reason for a misbehavior of the compiled application.

I'm currently instructing my students to *always* only use "Build" or even "Build All" before actually running the compiled app, in order to see (and correct) all warnings. It's perfectly clear that you may miss some warnings if you don't do a "Build All", but in practice having warnings show up with each compiler invocation would already help a lot, so please consider appending application run log information to the log instead of replacing it.

Category
Application::WrongBehaviour
Group
Platform:All
Status
Closed
Close date
2013-03-23 15:21
Assigned to
alpha0010
alpha0010 2013-03-22 00:16

What version do you use? This should already be the behaviour in the trunk (but it might not have made it into 12.11).

mshopf 2013-03-22 19:38

Sorry, I forgot. I'm using 12.11, it still shows this behavior.

If this is already fixed, feel free to close this bug, I'll reopen it if it still shows up with the next version.

alpha0010 2013-03-23 15:21

Okay; closing bug.

By the way, you may have noticed the Code::Blocks' release schedule is rather infrequent. You may want to build and distribute a trunk snapshot to your students. The trunk is fairly stable, and also easy to compile (check the wiki/forum if you run into trouble).