Enabling debug messages

Kevin Rushforth kevin.rushforth at oracle.com
Thu Sep 14 12:27:52 UTC 2023


export NWT_TRACE_LEVEL=N

where "N" is the trace level. See 
modules/javafx.graphics/src/main/native-prism-d3d/Trace.h

Btw, you can ignore the part about it being only enabled in debug mode. 
That env var is recognized in production builds as well.

-- Kevin


On 9/14/2023 4:27 AM, Nir Lisker wrote:
> Hi,
>
> I see that the D3D c++ files can output debug info via various 
> DebugPrintD3DError and TraceLn functions. How can this output be enabled?
>
> - Nir
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230914/1b1685d6/attachment.htm>


More information about the openjfx-dev mailing list