RE: NB12 - debugger is not going into the method

2020-07-06 Thread Joao Rebelo
Hi, some times i have this problem in java, too.
Also  when debugging  in PHP with PHPUnit is worst, the break point is ignored 
and is has not exist, or stop In a line which is not the one where is the 
breakpoint

De: Greenberg, Gary 
Enviada: 6 de julho de 2020 07:20
Para: users@netbeans.apache.org
Assunto: RE: NB12 - debugger is not going into the method

No, I was not using lambda expressions.

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]

From: András Sik mailto:andras@gmail.com>>
Sent: Sunday, July 5, 2020 11:13 PM
Cc: users@netbeans.apache.org
Subject: Re: NB12 - debugger is not going into the method

Is there any chance this had anything to do with lambda expressions? I know NB 
had issues with these before, IDK whether or not it has been fixed.

--
To the optimist, the glass is half-full.
To the pessimist, the glass is half-empty.
To the engineer, the glass is twice as big as it needs to be.


On Mon, Jul 6, 2020 at 8:01 AM Greenberg, Gary 
mailto:ggree...@visa.com.invalid>> wrote:
I do not have a small example and I cannot send out any significant piece of 
code.
However, I believe that I have explained steps to reproduce very clearly.
I do not mind to repeat it, though.
Create a  class bar with a function foo().
Write a method in this class that will be calling function foo.
Run it in the debugger and place a breakpoint on the line where foo() is called.
When it stops, click on “step-in” button and observe the behavior.

Regards,
Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]

From: John Mc mailto:mcdonnell.j...@gmail.com>>
Sent: Sunday, July 5, 2020 5:22 AM
To: Greenberg, Gary 
mailto:ggree...@visa.com.invalid>>
Cc: users@netbeans.apache.org
Subject: Re: NB12 - debugger is not going into the method

Do you have a small example of this behaviour?

I've not come across it myself, so without steps to reproduce, or a clear and 
simple example it might be hard to get someone to help you on resolving this 
issue...

Regards

John

On Sun, 5 Jul 2020 at 06:03, Greenberg, Gary 
mailto:ggree...@visa.com.invalid>> wrote:
I am trying to debug a maven project.
One of my methods returns unexpected result.
I placed a breakpoint on the line where method is called and when it stopped 
there, I clicked on the down arrow, planning to step into the method and see 
what is going on.
However, it did not go into the method, but behaved like “Step over” and moved 
to the next line of code.
Repeated it several times and behavior was consistent – “Step In” is not 
working as it should be.
I resolved my problem by putting another breakpoint inside the method, but it 
is not right. Back in version 8.2 it was working correctly.

Have anyone also noticed this problem?
My environment:
DELL Precision 5500
Win 10 Pro
OpenJDK 14
Netbeans 12

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]



RE: NB12 - debugger is not going into the method

2020-07-06 Thread Greenberg, Gary
No, I was not using lambda expressions.

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]

From: András Sik 
Sent: Sunday, July 5, 2020 11:13 PM
Cc: users@netbeans.apache.org
Subject: Re: NB12 - debugger is not going into the method

Is there any chance this had anything to do with lambda expressions? I know NB 
had issues with these before, IDK whether or not it has been fixed.

--
To the optimist, the glass is half-full.
To the pessimist, the glass is half-empty.
To the engineer, the glass is twice as big as it needs to be.


On Mon, Jul 6, 2020 at 8:01 AM Greenberg, Gary 
mailto:ggree...@visa.com.invalid>> wrote:
I do not have a small example and I cannot send out any significant piece of 
code.
However, I believe that I have explained steps to reproduce very clearly.
I do not mind to repeat it, though.
Create a  class bar with a function foo().
Write a method in this class that will be calling function foo.
Run it in the debugger and place a breakpoint on the line where foo() is called.
When it stops, click on “step-in” button and observe the behavior.

Regards,
Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]

From: John Mc mailto:mcdonnell.j...@gmail.com>>
Sent: Sunday, July 5, 2020 5:22 AM
To: Greenberg, Gary 
mailto:ggree...@visa.com.invalid>>
Cc: users@netbeans.apache.org
Subject: Re: NB12 - debugger is not going into the method

Do you have a small example of this behaviour?

I've not come across it myself, so without steps to reproduce, or a clear and 
simple example it might be hard to get someone to help you on resolving this 
issue...

Regards

John

On Sun, 5 Jul 2020 at 06:03, Greenberg, Gary 
mailto:ggree...@visa.com.invalid>> wrote:
I am trying to debug a maven project.
One of my methods returns unexpected result.
I placed a breakpoint on the line where method is called and when it stopped 
there, I clicked on the down arrow, planning to step into the method and see 
what is going on.
However, it did not go into the method, but behaved like “Step over” and moved 
to the next line of code.
Repeated it several times and behavior was consistent – “Step In” is not 
working as it should be.
I resolved my problem by putting another breakpoint inside the method, but it 
is not right. Back in version 8.2 it was working correctly.

Have anyone also noticed this problem?
My environment:
DELL Precision 5500
Win 10 Pro
OpenJDK 14
Netbeans 12

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]



Re: NB12 - debugger is not going into the method

2020-07-06 Thread András Sik
Is there any chance this had anything to do with lambda expressions? I know
NB had issues with these before, IDK whether or not it has been fixed.

--
To the optimist, the glass is half-full.
To the pessimist, the glass is half-empty.
To the engineer, the glass is twice as big as it needs to be.



On Mon, Jul 6, 2020 at 8:01 AM Greenberg, Gary 
wrote:

> I do not have a small example and I cannot send out any significant piece
> of code.
> However, I believe that I have explained steps to reproduce very clearly.
>
> I do not mind to repeat it, though.
>
> Create a  class bar with a function foo().
>
> Write a method in this class that will be calling function foo.
>
> Run it in the debugger and place a breakpoint on the line where foo() is
> called.
>
> When it stops, click on “step-in” button and observe the behavior.
>
>
>
> Regards,
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com
>
> M: 650-269-7902
>
>
>
> [image: EmailSig-TaglineVersion]
>
>
>
> *From:* John Mc 
> *Sent:* Sunday, July 5, 2020 5:22 AM
> *To:* Greenberg, Gary 
> *Cc:* users@netbeans.apache.org
> *Subject:* Re: NB12 - debugger is not going into the method
>
>
>
> Do you have a small example of this behaviour?
>
> I've not come across it myself, so without steps to reproduce, or a clear
> and simple example it might be hard to get someone to help you on resolving
> this issue...
>
>
>
> Regards
>
> John
>
>
>
> On Sun, 5 Jul 2020 at 06:03, Greenberg, Gary 
> wrote:
>
> I am trying to debug a maven project.
>
> One of my methods returns unexpected result.
> I placed a breakpoint on the line where method is called and when it
> stopped there, I clicked on the down arrow, planning to step into the
> method and see what is going on.
> However, it did not go into the method, but behaved like “Step over” and
> moved to the next line of code.
>
> Repeated it several times and behavior was consistent – “Step In” is not
> working as it should be.
>
> I resolved my problem by putting another breakpoint inside the method, but
> it is not right. Back in version 8.2 it was working correctly.
>
>
>
> Have anyone also noticed this problem?
>
> My environment:
>
> DELL Precision 5500
>
> Win 10 Pro
>
> OpenJDK 14
>
> Netbeans 12
>
>
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com
>
> M: 650-269-7902
>
>
>
> [image: EmailSig-TaglineVersion]
>
>
>
>


RE: NB12 - debugger is not going into the method

2020-07-06 Thread Greenberg, Gary
I do not have a small example and I cannot send out any significant piece of 
code.
However, I believe that I have explained steps to reproduce very clearly.
I do not mind to repeat it, though.
Create a  class bar with a function foo().
Write a method in this class that will be calling function foo.
Run it in the debugger and place a breakpoint on the line where foo() is called.
When it stops, click on “step-in” button and observe the behavior.

Regards,
Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]

From: John Mc 
Sent: Sunday, July 5, 2020 5:22 AM
To: Greenberg, Gary 
Cc: users@netbeans.apache.org
Subject: Re: NB12 - debugger is not going into the method

Do you have a small example of this behaviour?

I've not come across it myself, so without steps to reproduce, or a clear and 
simple example it might be hard to get someone to help you on resolving this 
issue...

Regards

John

On Sun, 5 Jul 2020 at 06:03, Greenberg, Gary 
mailto:ggree...@visa.com.invalid>> wrote:
I am trying to debug a maven project.
One of my methods returns unexpected result.
I placed a breakpoint on the line where method is called and when it stopped 
there, I clicked on the down arrow, planning to step into the method and see 
what is going on.
However, it did not go into the method, but behaved like “Step over” and moved 
to the next line of code.
Repeated it several times and behavior was consistent – “Step In” is not 
working as it should be.
I resolved my problem by putting another breakpoint inside the method, but it 
is not right. Back in version 8.2 it was working correctly.

Have anyone also noticed this problem?
My environment:
DELL Precision 5500
Win 10 Pro
OpenJDK 14
Netbeans 12

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]



Re: NB12 - debugger is not going into the method

2020-07-05 Thread John Mc
Do you have a small example of this behaviour?

I've not come across it myself, so without steps to reproduce, or a clear
and simple example it might be hard to get someone to help you on resolving
this issue...

Regards

John

On Sun, 5 Jul 2020 at 06:03, Greenberg, Gary 
wrote:

> I am trying to debug a maven project.
>
> One of my methods returns unexpected result.
> I placed a breakpoint on the line where method is called and when it
> stopped there, I clicked on the down arrow, planning to step into the
> method and see what is going on.
> However, it did not go into the method, but behaved like “Step over” and
> moved to the next line of code.
>
> Repeated it several times and behavior was consistent – “Step In” is not
> working as it should be.
>
> I resolved my problem by putting another breakpoint inside the method, but
> it is not right. Back in version 8.2 it was working correctly.
>
>
>
> Have anyone also noticed this problem?
>
> My environment:
>
> DELL Precision 5500
>
> Win 10 Pro
>
> OpenJDK 14
>
> Netbeans 12
>
>
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com
>
> M: 650-269-7902
>
>
>
> [image: EmailSig-TaglineVersion]
>
>
>