GetLastError() (with and without debugger)

Pedro Lamarão pedro.lamarao at prodist.com.br
Fri Aug 12 14:57:13 UTC 2022


Em sex., 12 de ago. de 2022 às 11:55, Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> escreveu:

> On 12/08/2022 15:53, Radosław Smogura wrote:
>
> Hi all,
>
>
>
> I could guess that debugger uses network and uses low level API to send
> and receive packets, which can cause error to be reset. But this is only my
> guess.
>
>
>
> I tend to agree with your (educated) guess.
>

Would a debugger for the JVM do network operations from inside the
program's thread?
If it does them from some other thread, that would not disturb the
effectively thread local "last error".

-- 
Pedro Lamarão
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20220812/f9857dad/attachment.htm>


More information about the panama-dev mailing list