apache / apache/netbeans

[cnd] cnd.debugger.common2 should use JNA

Open
#3,964 0 comments 0 reactions 0 assignees View on GitHub
C/C++ enhancement
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans latest daily build

### What happened

`cnd/cnd.debugger.common2` uses a small binary `GdbKillProc.exe` that allows interrupting `gdb` gracefully. This may be done with JNA directly, making mainteinance easier (and reducing a binary in the distribution).

### How to reproduce

_No response_

### Did this work correctly in an earlier version?

No

### Operating System

Windows

### JDK

Any

### Apache NetBeans packaging

Own source build

### Anything else

_No response_

### Are you willing to submit a pull request?

Yes

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Inspect the cnd/cnd.debugger.common2 module and the GdbKillProc.exe integration first, then trace how it interrupts gdb on Windows. Replace the small binary's role with direct JNA usage, remove the distribution dependency, and verify the own source build still handles graceful gdb interruption.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.