Trouble building JDK in debug mode
David.Hill at Oracle.com
Wed May 27 14:11:08 UTC 2015
On 5/27/15, 9:55 AM, Sam' wrote:
> I have followed the wiki in order to build the JDK (
> Now I want to provide some patch for some issues in JavaFX and I want to
> modify the source code and test it. But in order to test it, I need to
> compile it with the debug enabled, so that I can run a sample program in
> Netbeans, and actually see the value of the variable inside JDK sources.
> I have no idea how to do that. I have already used the flag "CONF =
> debugNative" in the gradle.properties file but this has not helped.. I
> think I'm missing something obvious somewhere...
What platform are you building on ?
Windows build creates a separate symbol file (a .pdb) which I learned about just last week :-)
This needs to be pointed out to VisualStudio, or manually copied to where VS thinks it should be.
And it is -PCONF=DebugNative (case sensitive)
> Best regards,
David Hill<David.Hill at Oracle.com>
Java Embedded Development
"A man's feet should be planted in his country, but his eyes should survey the world."
-- George Santayana (1863 - 1952)
More information about the openjfx-dev