如何通过.debuggerDefaults在全知调试器中获得spring源代码(或其他第三方资源,而不是缺省包)?
我在eclilse中启动了全知调试器
发布于 2013-09-18 19:26:44
在研究代码之后,全知调试器使用FileReadr( ".debuggerDefaults“)来获取文件;我们知道file get path from System.getProperty("user.dir");所以如果你在eclipse中启动全知调试器,它会从eclipse工程路径的路径中找到”.debuggerDefaults“文件;
for example ,my eclipse project is in D:/maven_project/ ,
and debugger.jar is in c:/downloads ; it will find ".debuggerDefaults" file from
D:/maven_project/ ,but not from c:/downloads 而".debuggerDefaults“文件的内容是
SourceDirectory: "D:/maven_project/src/main/java/"
SourceDirectory: "C:\Documents and Settings\work\.m2\repository\org\springframework\spring-context\3.1.2.RELEASE\spring-context-3.1.2.RELEASE-sources\"NOTE:SourceDirectory必须是\或/的末尾
https://stackoverflow.com/questions/18869256
复制相似问题