News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Build-and-run (F9) hotkey does'nt work -

Started by charlesd05, February 08, 2009, 05:03:48 PM

Previous topic - Next topic

charlesd05

Hello everybody ( :? i'm french, so sorry whether my english isn't really good... )

I used codeblocks for a few years under windows, now under ubuntu 8.10 (linux for life ! :D). I would wanna say i think codeblocks has a real future !...
But i've two little problems : (i could write two topics but i thought it wasn't needed... :))

first, the F9 hotkey to build-and-run doesn't work. when pushed, the window becomes grayed (busy) until i click on. only the menu item works.

second, the console execution makes no pause at the end of the execution, only get out. this problem appears only when debugging (with F8).


Then, i would contribute to this very good soft, but if there's any solution yet ...  :)

Jenna

The first works for me on debian and windows without problems, maybe the hotkey is assigned by your windowmanager or another.

The second behaviour is normal, if you want the console to be opened at the end, you have to set a breakpoint on the return statement of main, or put a cin as last statement.

charlesd05

Hello, first thinks for your help  :D

for the first, this hotkey is free, i'm sure of this, and more this problem was there under windows too.

for the second, your solution is the one i currently use, but i meant that the option in Project->Properties->release->"pause when execution ends" seems not to work... maybe it's not the source of the problem?  :?

charlesd05

sorry i made a mistake : it's in debug and release  :?

charlesd05

fuck, another mistake : it's in DEBUG, NOT IN RELEASE

charlesd05

Hey! F9 seems to work now! it's strange, i didn't do anything !  :o

darkhero77

Quote from: charlesd05 on February 08, 2009, 06:23:12 PM
Hey! F9 seems to work now! it's strange, i didn't do anything !  :o
Are you sure you didn't do anything? I seem to be experiencing the same problem.  :(

mrowek

The answer is simple - CompizConfig -> Widget dashboard (?*) -> there's F9 used.

// not using english language so i don't know exactly how it's called, but something about widgets ;]