You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Jake Ochs <gi...@hotmail.com> on 2019/01/08 14:05:59 UTC

RE: can't set break points in NB10 PHP

I’m still seeing this behavior in the NB10 release. Anyone else out there using PHP that can validate my findings? PHP debugging only works when Netbeans is set to stop at first line.



Cross posting in nbuser group. Will evaluate responses before opening a JIRA ticket…



________________________________
From: Jake Ochs <gi...@hotmail.com>
Sent: Thursday, December 20, 2018 9:33:20 AM
To: dev
Subject: Re: can't set break points in NB10 PHP

I had the same issue in nb10vc5. I was eventually able to set breakpoints after initially setting PHP debugging to stop at first line. After the debugger paused that first time I was able to set breakpoints. This seems like incorrect behavior to me.
________________________________
From: Geertjan Wielenga <ge...@googlemail.com.INVALID>
Sent: Friday, November 2, 2018 7:13 AM
To: dev
Subject: Re: can't set break points in NB10 PHP

Wait, it's working now.

Maybe because I enabled something when I tried to set a breakpoint in a
Java source file, which worked, and then I was able to set a breakpoint in
a PHP file.

Can someone reproduce this?

Gj


On Fri, Nov 2, 2018 at 12:10 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Yes, weird, I see this problem too.
>
> Gj
>
> On Fri, Nov 2, 2018 at 1:00 AM Jake Ochs <gi...@hotmail.com> wrote:
>
>> Am I the only one who can’t set a break point using NB10VC2 (win64) in
>> the PHP editor? I tried it on my Windows 7 work PC (provisioned) and on my
>> Windows 10 personal laptop to no avai.
>>
>

RE: can't set break points in NB10 PHP

Posted by Jake Ochs <gi...@hotmail.com>.
Sorry for the double email – I forwarded it to the wrong address and I’d like the users group to also have the thread to reply to…

________________________________
From: Jake Ochs <gi...@hotmail.com>
Sent: Tuesday, January 8, 2019 9:05:59 AM
To: dev@netbeans.incubator.apache.org; users@netbeans.apache.org
Subject: RE: can't set break points in NB10 PHP


I’m still seeing this behavior in the NB10 release. Anyone else out there using PHP that can validate my findings? PHP debugging only works when Netbeans is set to stop at first line.



Cross posting in nbuser group. Will evaluate responses before opening a JIRA ticket…



________________________________
From: Jake Ochs <gi...@hotmail.com>
Sent: Thursday, December 20, 2018 9:33:20 AM
To: dev
Subject: Re: can't set break points in NB10 PHP

I had the same issue in nb10vc5. I was eventually able to set breakpoints after initially setting PHP debugging to stop at first line. After the debugger paused that first time I was able to set breakpoints. This seems like incorrect behavior to me.
________________________________
From: Geertjan Wielenga <ge...@googlemail.com.INVALID>
Sent: Friday, November 2, 2018 7:13 AM
To: dev
Subject: Re: can't set break points in NB10 PHP

Wait, it's working now.

Maybe because I enabled something when I tried to set a breakpoint in a
Java source file, which worked, and then I was able to set a breakpoint in
a PHP file.

Can someone reproduce this?

Gj


On Fri, Nov 2, 2018 at 12:10 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Yes, weird, I see this problem too.
>
> Gj
>
> On Fri, Nov 2, 2018 at 1:00 AM Jake Ochs <gi...@hotmail.com> wrote:
>
>> Am I the only one who can’t set a break point using NB10VC2 (win64) in
>> the PHP editor? I tried it on my Windows 7 work PC (provisioned) and on my
>> Windows 10 personal laptop to no avai.
>>
>

Re: can't set break points in NB10 PHP

Posted by John Lavelle <jo...@jql.co.uk>.
Yes, I can now reproduce it (PHP code I used attached).

   - If you double-click in the gutter nothing happens.
   - If you right click in the gutter and select Toggle Breakpoint nothing
   happens regardless of whether a Breakpoint is set or not.
   - If you use the Debug Menu only New Breakpoint (CTRL+SHIFT+F8) works.
   - If you press CTRL+SHIFT+F8 you get a dialog box allowing you to set
   the breakpoint. Once set you can only disable it via the menus, *you
   can't remove it*.
   - You *can* remove the Breakpoint with CTRL+F8.
   - *If you set the Breakpoint using CTRL+SHIFT+F8 then use CTRL+F8 to
   toggle the Breakpoint all the Breakpoint Menus and keyboard shortcuts now
   work*!


So, a work-round for now:

   1. On any line use CTRL+SHIFT+F8 and set a Breakpoint
   2. Then press CTRL+F8 (which will toggle the Breakpoint off)
   3. Now you can use the Breakpoint system (Menus and/or Keyboard
   shortcuts) as normal.

I hope that helps until the bug is fixed.

Best regards,
John

http://jlavelle.uk/pfw
NetBeans 9.0 & 10.0 videos:
https://www.youtube.com/playlist?list=PLz6bgARb5uLsJP07ydwMlm-vfD9HuVXIh


On Tue, 8 Jan 2019 at 15:05, Jake Ochs <gi...@hotmail.com> wrote:

> I’m still seeing this behavior in the NB10 release. Anyone else out there
> using PHP that can validate my findings? PHP debugging only works when
> Netbeans is set to stop at first line.
>
>
>
> Cross posting in nbuser group. Will evaluate responses before opening a
> JIRA ticket…
>
>
> ------------------------------
> *From:* Jake Ochs <gi...@hotmail.com>
> *Sent:* Thursday, December 20, 2018 9:33:20 AM
> *To:* dev
> *Subject:* Re: can't set break points in NB10 PHP
>
> I had the same issue in nb10vc5. I was eventually able to set breakpoints
> after initially setting PHP debugging to stop at first line. After the
> debugger paused that first time I was able to set breakpoints. This seems
> like incorrect behavior to me.
> ________________________________
> From: Geertjan Wielenga <ge...@googlemail.com.INVALID>
> Sent: Friday, November 2, 2018 7:13 AM
> To: dev
> Subject: Re: can't set break points in NB10 PHP
>
> Wait, it's working now.
>
> Maybe because I enabled something when I tried to set a breakpoint in a
> Java source file, which worked, and then I was able to set a breakpoint in
> a PHP file.
>
> Can someone reproduce this?
>
> Gj
>
>
> On Fri, Nov 2, 2018 at 12:10 PM Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
> > Yes, weird, I see this problem too.
> >
> > Gj
> >
> > On Fri, Nov 2, 2018 at 1:00 AM Jake Ochs <gi...@hotmail.com> wrote:
> >
> >> Am I the only one who can’t set a break point using NB10VC2 (win64) in
> >> the PHP editor? I tried it on my Windows 7 work PC (provisioned) and on
> my
> >> Windows 10 personal laptop to no avai.
> >>
> >
>

RE: can't set break points in NB10 PHP

Posted by Jake Ochs <gi...@hotmail.com>.
Sorry for the double email – I forwarded it to the wrong address and I’d like the users group to also have the thread to reply to…

________________________________
From: Jake Ochs <gi...@hotmail.com>
Sent: Tuesday, January 8, 2019 9:05:59 AM
To: dev@netbeans.incubator.apache.org; users@netbeans.apache.org
Subject: RE: can't set break points in NB10 PHP


I’m still seeing this behavior in the NB10 release. Anyone else out there using PHP that can validate my findings? PHP debugging only works when Netbeans is set to stop at first line.



Cross posting in nbuser group. Will evaluate responses before opening a JIRA ticket…



________________________________
From: Jake Ochs <gi...@hotmail.com>
Sent: Thursday, December 20, 2018 9:33:20 AM
To: dev
Subject: Re: can't set break points in NB10 PHP

I had the same issue in nb10vc5. I was eventually able to set breakpoints after initially setting PHP debugging to stop at first line. After the debugger paused that first time I was able to set breakpoints. This seems like incorrect behavior to me.
________________________________
From: Geertjan Wielenga <ge...@googlemail.com.INVALID>
Sent: Friday, November 2, 2018 7:13 AM
To: dev
Subject: Re: can't set break points in NB10 PHP

Wait, it's working now.

Maybe because I enabled something when I tried to set a breakpoint in a
Java source file, which worked, and then I was able to set a breakpoint in
a PHP file.

Can someone reproduce this?

Gj


On Fri, Nov 2, 2018 at 12:10 PM Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Yes, weird, I see this problem too.
>
> Gj
>
> On Fri, Nov 2, 2018 at 1:00 AM Jake Ochs <gi...@hotmail.com> wrote:
>
>> Am I the only one who can’t set a break point using NB10VC2 (win64) in
>> the PHP editor? I tried it on my Windows 7 work PC (provisioned) and on my
>> Windows 10 personal laptop to no avai.
>>
>