Codelite 问题 - 未指定可执行文件,使用"目标可执行文件"

Codelite issue--No executable specified,use 'target exec

本文关键字:可执行文件 问题 目标 使用 未指定 Codelite      更新时间:2023-10-16

我刚刚在windows 8.1中安装了codelite。它显示错误

Debugger exited with the following error string:
"No executable 
specified,use 'target exec'"

我搜索并找到了这个(另一个stackoverflow问题)我做了和上面提到的一样的事情,但没有什么真正对我有用的。我做了一个新项目,并选择了Simple可执行文件(g++)和GNU调试器作为默认调试器。有人能帮我吗。它还显示"程序退出,返回代码:4199040"。

您似乎没有提供可执行文件来运行/调试:

转到

Project settings... -> Common settings -> General

并填写的正确信息

Executable to Run / Debug

Jarod42提供了一个"足够接近"的答案。在Linux上,步骤似乎是:

Workspace -> Open Active Project Settings... -> General

并填写的正确信息

Executable to Run / Debug

在命令提示符中:

  1. gdb(程序类型:例如python或c或c++等)如果我正在运行python程序,那么命令将是gdb-python
  2. 然后(gdb)运行programname.py
相关文章: