Skip to content

[GR-42742] JDWP-based Debugging Support #5648

Open
@fniephaus

Description

@fniephaus

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

Related PRs

Metadata

Metadata

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions