简体   繁体   English

Eclipse - 调试器不会在 xTend 代码断点处停止,但可以在 java 代码断点处停止

[英]Eclipse - debugger doesn't stop at xTend code breakpoints, but possible to java code breakpoints

I am developer who is using xTend.我是使用 xTend 的开发人员。 The docs for this kind of programming language are introduced at this link:此链接介绍了这种编程语言的文档:

https://www.eclipse.org/xtend/documentation/ https://www.eclipse.org/xtend/documentation/

在此处输入图像描述

When I used Eclipse Photon version to develop my product.当我使用 Eclipse Photon 版本开发我的产品时。 I ran into the issue related to debugging.我遇到了与调试相关的问题。 AFAIK, xTend code will always be intermediately compiled to java code first. AFAIK,xTend 代码将始终首先被中间编译为 java 代码。

The issue description as below:问题描述如下:

  • The debugger can hit breakpoints if they are toggled in java code.如果在 java 代码中切换,调试器可能会遇到断点。
  • But, when I toggle breakpoints in xTend code, the debugger doesn't hit the breakpoints any longer.但是,当我在 xTend 代码中切换断点时,调试器不再命中断点。

I tried some times to refresh my Eclipse workspace (delete old one / create new one), even used other version of Eclipse.我尝试了几次刷新我的 Eclipse 工作区(删除旧的/创建新的),甚至使用其他版本的 Eclipse。 But, still didn't solve the issue.但是,还是没有解决问题。

Who had already run into this situation, could you share your idea or solution on this?谁已经遇到过这种情况,您能分享一下您的想法或解决方案吗?

I have resolved the problem.我已经解决了这个问题。

This happened because the configuration not adequate.发生这种情况是因为配置不够。

If you have same situation to me, please consider to check all below Eclipse debugger's configurations.如果您和我有同样的情况,请考虑检查以下所有 Eclipse 调试器的配置。

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

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

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