【发布时间】:2018-11-02 02:38:20
【问题描述】:
我有一个与 JNI C++ 应用程序通信的 java 应用程序。我的 java 应用程序在 eclipse 中,而我正在使用带有 mingw64 位编译器的 C++ 的 netbeans。我似乎无法调试应用程序的 JNI 部分。
我在 java 应用程序中加载 dll。从 netbeans 我去 Debug->Attach Debugger 选择 javaw.exe 这使我的 eclipse 卡住了,我在 eclipse IDE 中得到了异常:
org.eclipse.jdi.TimeoutException. Timeout occurred while waiting for packet. occurred creating step request
我的调试过程正确吗?如何配置 netbeans 来调试 JNI 应用程序。
【问题讨论】:
标签: c++ eclipse netbeans java-native-interface