简体   繁体   English

Eclipse CDT调试器仅逐步执行反汇编代码,而不是我自己的

[英]Eclipse cdt debugger only step through dessembly code and not my own

Recently I asked a question and one of the guys here really tore into me about not using a debugger. 最近我问了一个问题,这里的一个人真的对我不使用调试器感到厌烦。 Someone else was nice and suggested Visual Studio C++. 其他人很好,建议使用Visual Studio C ++。 I have been trying to work with it and it was really nice until I tried more complex code. 我一直在尝试使用它,在尝试更复杂的代码之前,它确实很棒。

So I decided to try eclipse since that is the IDE I prefer. 所以我决定尝试Eclipse,因为那是我更喜欢的IDE。 I got through the missing .gde file problem. 我解决了丢失的.gde文件问题。

Now the debugger opens but It is only debugging assembly code files. 现在,调试器将打开,但它只是调试汇编代码文件。 This does me no good if it is not stepping through my own code. 如果不逐步执行自己的代码,这对我没有好处。

It does not even get to my breakpoints or my code. 它甚至没有到达我的断点或代码。

It don't help me to step through code I didn't write. 它不会帮助我逐步浏览未编写的代码。

I really hope someone can help with this. 我真的希望有人可以提供帮助。

So the question is simple : 所以问题很简单:

How to get Eclipse CDT to Debug my code I write and to stop and recognize breakpoints??? 如何使Eclipse CDT调试我编写的代码以及停止和识别断点? Below pic is what I am getting. 下面的图片是我得到的。

在此处输入图片说明

我最终只是选择了Visual Studio,不是我的选择,但是对于调试器来说,它比其他工具工作得更好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM