NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Run to Cursor


Joined: 22 Oct 2008
Posts: 5
Reply with quote
In a source you can place the cursor on some line and choose 'Run to Cursor' (F4). Now, if there are other breakpoint defined before hitting the line I pressed F4 on, the debugger stops at that breakpoint.

So 'Run to Cursor' should be named as 'Run to Cursor until some other breakpoint was hit'.

It would be nice F4 would do what it says. Just run to Cursor, don't stop elsewere.
View user's profileFind all posts by NoSphereSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
no, it won't be changed because this feature works exactly like in any other solid IDE.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Oct 2008
Posts: 5
Reply with quote
I thought phpEd wanted to be different compared to the 'the others' and set new standards Wink

Sometimes I just want to skip defined breakpoints defined in other scripts. The way the debugger works now is in that case you'll lost the exact place you pressed F4 when it stops on such a breakpoint.

It would be nice as it would help to debug more quicker especially in more complex environments.

If F4 pressed, temporary disable all defined breakpoints unitil it hits the F4 spot...
View user's profileFind all posts by NoSphereSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
I thought phpEd wanted to be different compared


it would violate other people expectations.

Quote:
If F4 pressed, temporary disable all defined breakpoints unitil it hits the F4 spot...


what if code where you placed the cursor is not executed at all?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Oct 2008
Posts: 5
Reply with quote
>it would violate other people expectations.
As it does right now for me .... but really if developers only wrote software to stay withing peoples expectations, software would never develop further.
But I respect your point of view.

>what if code where you placed the cursor is not executed at all?
If F4 pressed, temporary disable all defined breakpoints unitil it hits the F4 spot or the script finished execution ...
View user's profileFind all posts by NoSphereSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
As it does right now for me .... but really if developers only wrote software to stay withing peoples expectations, software would never develop further

Right. But we're talking about a VERY OLD feature that works this way for more than 17 years now.

Quote:
If F4 pressed, temporary disable all defined breakpoints unitil it hits the F4 spot or the script finished execution

And people will say, "hey I have ton of breakpoints in my code and neither triggered, WTF!"

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Oct 2008
Posts: 5
Reply with quote
dmitri wrote:
.. VERY OLD feature that works this way for more than 17 years now

I know, but look what has been changed over the last 17 years Wink


Quote:
And people will say, "hey I have ton of breakpoints in my code and neither triggered, WTF!"

And others will say "Nice feature, others don't have that!" Which option does switch that feature on (or off Wink)
"Oh I see, it's just next to the option which says 'Only debug in scripts already open in the editor'"
View user's profileFind all posts by NoSphereSend private message
Run to Cursor
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic