User forums > Using Code::Blocks

Move cursor to current instruction in Debug mode

(1/2) > >>

eddyq:
While debugging I have moved my view away from the current execution line. Now I need to get back there but I don't want to step. How do I do that?

oBFusCATed:
1. debug -> debugging windows -> call stack
2. select the top frame
3. right click -> jump to this file/line

killerbot:
in many IDE's I have seen a button which is like a yellow arrow, which always takes you to the current execution line.
BEcause this is an action that one needs rather often.

I have found this much user friendlier then the 3 step solution we have now, which is slow, since the popping up of the callstack is not that fast.

I would suggest we add a similar thing ? And if we would not want to waste a button on it in the debug toolbar, we could give a menu entry in the debug menu we a key shortcut on it.

What do you think ?

oBFusCATed:

--- Quote from: killerbot on January 03, 2013, 08:01:11 pm ---What do you think ?

--- End quote ---
I have the callstack window opened almost all the time, when I'm debugging, so I don't feel a need for it.

killerbot:
I am not asking on how you work, I am asking on the general user experience  ;D

PS : When I have the callstack open, I have a rather slow debug experience, I think I have noticed, when I start up, it is showing call stack information from previous run), though we are just running and not hitting a breakpoint yet ... Will keep an closer eye, to provide more useful feedback on this.

Navigation

[0] Message Index

[#] Next page

Go to full version