gpt4 book ai didi

Linux 上的 Codeblocks 调试不起作用

转载 作者:行者123 更新时间:2023-11-30 20:36:56 25 4
gpt4 key购买 nike

所以,最近我买了一台笔记本电脑,我将用它来了解有关 Linux 的更多信息,并且我想在那里为大学制作我的程序。我的问题是,除了调试器之外,一切正常,它根本不会在断点处停止。

最佳答案

使用来自this answer的信息,这里列出了您可以采取的措施来解决此问题。

  • Clean and rebuild.
  • Ensure that (Build Options > Compiler Settings) "Produce debugging symbols" is checked, "Strip all symbols" is unchecked. Please ensure this is done in global settings and project settings. This fixed it for me.
  • Check so that there are no spaces/non-ASCII values in the project file path.
  • Check if you are running the debug version, not release. The executable from Release build will be ../bin/Release, and the executable from a Debug build will be in ../bin/Debug.
  • Check that Debugger in (Settings > Compiler > Toolchain Executables) is set to GDB/CDB Debugger:Default.
  • Update Code::Blocks (last resort).

关于Linux 上的 Codeblocks 调试不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34470815/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com