On Tue, 24 Mar 2026 22:23:11 GMT, Marius Hanl <[email protected]> wrote:

>> yes!  I did not know about it, danke.
>> 
>> but... it only goes so far.  _what if_ I want the second breakpoint in the 
>> outer method on the same line?
>> 
>> there is another reason for placing one statement per line - analyzing logs. 
>>  get an exception with the line number, have no idea where the problem is 
>> because there are multiple candidates on the same line.  when the classfile 
>> is obfuscated.  when log was captured a week ago by a customer.
>
>> but... it only goes so far. what if I want the second breakpoint in the 
>> outer method on the same line?
> 
> I just tried and I can set both breakpoints at the same line, so it first 
> triggers in the line, then in the lambda for me

no, `toggle lambda entry point` followed by `toggle breakpoint` removes the 
lambda breakpoint, so does double click.

you have to `toggle breakpoint` first for this to work...  it's a bad idea, I 
say.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2118#discussion_r2984662248

Reply via email to