Description
TL;DR
Provide support for JDWP-based debugging so that users can debug native executables generated with Native Image using their preferred Java debugger.
Goals
The DebugInfo feature of Native Image allows users to debug their native executables using GDB on the Java source level and works with many IDEs that provide GDB integrations. While this is crucial for debugging low-level problems in user applications or Native Image internals, many Java developers are unfamiliar with debugging of optimized native code.
To allow Java developers to use their preferred Java debugger, we plan to add support for higher-level debugging based on the JDWP. This way, optimizations, that are observable on the GDB level, can be hidden from users. Moreover, this would also make it possible to support evaluate expression and other higher-level debugging features in the future.
Non-goals
- Stop work on GDB-based debugging infrastructure such as Planned Upgrades to Debug Info Support #5047
- Build and provide any IDE-specific plugins for Native Image debugging
Related PRs
Metadata
Metadata
Type
Projects
Status