This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235145 - One-click Stop at First Line
Summary: One-click Stop at First Line
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P4 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 09:16 UTC by georgelund
Modified: 2013-08-29 08:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description georgelund 2013-08-28 09:16:00 UTC
Product Version = NetBeans IDE 7.3 (Build 201306052037)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) Client VM 23.25-b01

I'd really like to be able to turn on and off the option in Tools/Options/PHP/Debugging/Stop at First Line with one click.

A toolbar button would be ideal, or perhaps a status bar toggle.
Comment 1 Tomas Mysik 2013-08-28 11:38:56 UTC
Just curious - why?

Thanks.
Comment 2 georgelund 2013-08-28 13:46:11 UTC
So quite frequently when debugging a particular app I have absolutely no idea where the code that's got the problem is -- I kick off the HTTP request and then see where we go. Stopping at the first line helps here sometimes.

However, the web app in question makes quite a lot of background ajax requests, and it's very easy to get things confused if some of those end up dropping into the debugger too.

Maybe this is an edge case, but for me while the Stop on First Line feature *is* very useful, it just isn't useful _all the time_. (Or even most of the time.)

I realise this will be very low priority  :-) thanks
Comment 3 Tomas Mysik 2013-08-29 05:13:48 UTC
Thanks for the explanation, I see it now.

The problem here is that we (PHP) cannot easily add a button to the main toolbar if the button does not make sense in other areas (Java, Java EE, Maven etc.). The only option now I can see is to define a keyboard shortcut for it...

Thanks.
Comment 4 georgelund 2013-08-29 08:52:14 UTC
Understood. A keyboard shortcut would certainly help me anyway! Thanks for your time :)