我尝试在CLion中调试JDK12JVM源代码,现在所有的编译工作都成功了。我已经运行了这个命令:
bash configure --with-boot-jdk='/Users/dolphin/.sdkman/candidates/java/11.0.10.hs-adpt' --with-debug-level=slowdebug --with-target-bits=64 --disable-warnings-as-errors --enable-dtrace --with-jvm-variants=server
make CONF=macosx-x86_64-server-slowdebug compile-commands
make CONF=macosx-x86_64-server-slowdebug但是,当我开始调试时,CLion显示的错误如下:

这是CLion JVM调试配置:

这是构建目标配置:

我是不是遗漏了什么?我该怎么做才能解决这个问题?我使用MacBook Pro与英特尔芯片,操作系统是macOS Monerey 13.2.1,CLion版本是:CLion 2021.3.4。
这是CLion调试配置:
发布于 2022-04-04 10:19:00
似乎您不应该添加一个CMake Application,尝试在CLion中添加Custom Build Application以显示是否有效。
https://stackoverflow.com/questions/71733018
复制相似问题