简体   繁体   English

如何转到 Visual Studio Code 的 Java 调试控制台中的错误行代码

[英]How can I go to the error line code in Visual Studio Code's Java Debug Console

So currently, I have just moved from Intellij to Visual Studio Code to develop my personal Java Spring Boot Application.所以目前,我刚刚从 Intellij 转移到 Visual Studio Code 来开发我的个人 Java Spring Boot 应用程序。

The problem is that when Java Debug Console shows exceptions like the below image, it's underlining when I hover to that link.问题是,当 Java 调试控制台显示如下图所示的异常时,当我将鼠标悬停在该链接上时,它会加下划线。 It doesn't have a function like click to point at that line of error code.它没有像单击指向那行错误代码这样的功能。

So Are there any extensions or configs to do to solve this problem?那么是否有任何扩展或配置可以解决这个问题?

我的 Java 调试控制台

Ctrl+Click the exception in Terminal will enter .class file you referred in your project instead of your source code. Ctrl+Click终端中的异常将输入您在项目中引用的.class文件而不是源代码。

Turn to Problems Tab, clicking the error will redirect you to error code.转到问题选项卡,单击错误会将您重定向到错误代码。

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

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