Page 1 of 1

There is a way to run to cursor, isn't it?

Posted: Wed Aug 01, 2012 9:21 pm
by thanhbuu
I want to run to cursor in Codelite but I don't know how to do that. Please show me how to do this or tell me this is impossible. Your help is appreciated. Thank you :)

Re: There is a way to run to cursor, isn't it?

Posted: Wed Aug 01, 2012 10:21 pm
by eranif
thanhbuu wrote:I want to run to cursor in Codelite but I don't know how to do that. Please show me how to do this or tell me this is impossible. Your help is appreciated. Thank you :)
I am not sure what you want to do.

"Run to cursor" is pretty vague

Do you mean "while debugging, I would like to run to cursor" or "while editing, I would like to run to cursor" ?
and what does "run to cursor" means? you want that this line will be centered? you want the debugger to run execution and break when it hits the cursor line?

Which OS? what codelite version?

http://forums.codelite.org/viewtopic.php?f=3&t=804
Eran

Re: There is a way to run to cursor, isn't it?

Posted: Thu Aug 02, 2012 6:25 am
by thanhbuu
I mean while debugging, I want to run to cursor (it's somehow similar with breakpoints).
My OS is Ubuntu 12.04. CodeLite v.4.0.5658.

Re: There is a way to run to cursor, isn't it?

Posted: Thu Aug 02, 2012 12:16 pm
by eranif
thanhbuu wrote:I mean while debugging, I want to run to cursor (it's somehow similar with breakpoints).
right click on the line you want to reach, and click 'Run to cursor' ...

Eran

Re: There is a way to run to cursor, isn't it?

Posted: Thu Aug 02, 2012 5:15 pm
by thanhbuu
Problem solved. Thank you very much.
In addition, do we have shortcut for this? :)
Please help me:(