|
Re: Some little feature request [message #43297 is a reply to message #43087] |
Wed, 15 August 2007 15:17 |
Eclipse User |
|
|
|
Originally posted by: dserodio.gmail.com
Fabio wrote:
> Hi,
>
> I'm an "old" programmer but new to php and eclipse/pdt.
> Can I ask some feature for the debugger?
> I don't know where else I can send them :(
https://bugs.eclipse.org/bugs/ is the right place. Choose PDT as the
Plugin/Component, and "Enhancement" as the severity
> - Assign a function key to the "Relaunch" menu voice.
> On the Debug tab I can right click a debug and relaunch it, but a function
> key for the selected one may be more handy.
> I can relaunch with F11, but it lauch another debug and each time I have to
> choose the debug type from the dialog window.
I don't understand; F11 works fine for me, I don't have to choose the
debug type.
> - It is not possible to implement the classic "immediate tab" where I can
> write and evaluate code?
>
> - The tab "Expressions" would be nice if I could add/edit an expression to
> the list without open the dialog for it.
> The classic editing of a treeview...
>
> - Is it not possible to add the possibility to set the current code line to
> be debugged?
> I want to say: I'm debugging and I'm on the line 10, I go on on the line 11
> (with F6), I want to return to the line 10 and re-execute from it... or
> maybe I want to pass to the line 13 skipping the 12... I'm clear? :)
Right-click on the line you want to stop and choose "Run to Line", or
hit Ctrl+R.
HTH,
Daniel Serodio
|
|
|
|
|
Re: Some little feature request [message #43413 is a reply to message #43334] |
Wed, 15 August 2007 16:31 |
Eclipse User |
|
|
|
Originally posted by: james.gnr-inc.com
Fabio wrote:
> "Daniel Serodio" <dserodio@gmail.com> ha scritto nel messaggio
> news:f9v5e3$7fa$1@build.eclipse.org...
>
>
> take a look at this:
>
> http://img403.imageshack.us/img403/7176/pdtke8.png
>
> If I press F11 on the debug tab it's ok (I think it does a relaunch) but if
> I press F11 on the starting .php file I get the dialog and I must choose the
> debug mode.
> And if I have the debugger stopped on a breakpoint and I press F11 the
> process is not relaunched but a new one is started.
>
>
>
>
> "Run to line" run *up* to the next breakpoint as the F8 :( but I cannot
> choose the line I want to go to, also if that line is already passed :)
>
>
>
Did you look at Preferences->PHP->Debug->Launching->Allow multiple debug
sessions?
James
|
|
|
|
|
Re: Some little feature request [message #44373 is a reply to message #43334] |
Fri, 17 August 2007 19:47 |
Eclipse User |
|
|
|
Originally posted by: dserodio.gmail.com
Fabio wrote:
> "Daniel Serodio" <dserodio@gmail.com> ha scritto nel messaggio
> news:f9v5e3$7fa$1@build.eclipse.org...
>
>>> - Assign a function key to the "Relaunch" menu voice.
>>> On the Debug tab I can right click a debug and relaunch it, but a
>>> function
>>> key for the selected one may be more handy.
>>> I can relaunch with F11, but it lauch another debug and each time I have
>>> to
>>> choose the debug type from the dialog window.
>> I don't understand; F11 works fine for me, I don't have to choose the
>> debug type.
>
> take a look at this:
>
> http://img403.imageshack.us/img403/7176/pdtke8.png
>
> If I press F11 on the debug tab it's ok (I think it does a relaunch) but if
> I press F11 on the starting .php file I get the dialog and I must choose the
> debug mode.
Weird, even if I ask for options, I don't have as many options as you
do, only "Run on Server", "PHP Script" and "PHP Web Page".
Don't know if it makes any difference, but I noticed you're using
XDebug, while I'm using Zend Debugger.
> And if I have the debugger stopped on a breakpoint and I press F11 the
> process is not relaunched but a new one is started.
That's expected, you should use F8 to resume the current session, F11 is
for starting new sessions.
>>> - Is it not possible to add the possibility to set the current code line
>>> to
>>> be debugged?
>>> I want to say: I'm debugging and I'm on the line 10, I go on on the line
>>> 11
>>> (with F6), I want to return to the line 10 and re-execute from it... or
>>> maybe I want to pass to the line 13 skipping the 12... I'm clear? :)
>> Right-click on the line you want to stop and choose "Run to Line", or
>> hit Ctrl+R.
>
> "Run to line" run *up* to the next breakpoint as the F8 :( but I cannot
> choose the line I want to go to, also if that line is already passed :)
Like others have already mentioned, stopping at breakpoints is configurable.
Returning to a previous line, AFAIK is not possible. Eclipse is able to
do this for Java apps with the "Drop to Frame" feature, that returns to
the previous "frame" (function invocation), so you can restart the
current function.
I'm new to PHP, but I don't think that's possible with PHP.
Regards,
Daniel Serodio
|
|
|
|
Powered by
FUDForum. Page generated in 0.04179 seconds