Some little feature request [message #43087] |
Wed, 15 August 2007 09:11  |
Eclipse User |
|
|
|
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 :(
- 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.
- 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? :)
I thank you for the patience :)
|
|
|
Re: Some little feature request [message #43297 is a reply to message #43087] |
Wed, 15 August 2007 11: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 #44373 is a reply to message #43334] |
Fri, 17 August 2007 15: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
|
|
|
Re: Some little feature request [message #44403 is a reply to message #44373] |
Fri, 17 August 2007 21:24  |
Eclipse User |
|
|
|
"Daniel Serodio" <dserodio@gmail.com> ha scritto nel messaggio
news:fa4u01$stf$1@build.eclipse.org...
> 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.
I'm new too to php, but I tryied the debugger of PhpED and it can do it, but
it does not use xdebug (I think it use the Zend).
The other really handy is its immediate window for the debug.
|
|
|
Powered by
FUDForum. Page generated in 0.04614 seconds