问题描述
我是刚接触JProfiler的人.我正在对应用程序进行远程分析.当我单击任何对象的显示源时,它说在源路径中找不到源文件",因为远程计算机上只有二进制文件.有什么办法可以链接源代码.仅供参考,我可以使用可以使用的代码.
I am new to using JProfiler. I am profiling remotely on an application. When iI click on show source for any object, it says "Source file could not be found in source path" as there are only binaries on remote machine. Is there someway I can link the source code. FYI, I have access to code which i can make use of.
推荐答案
在JProfiler的主菜单中,选择会话->会话设置"(会话正在运行时).在应用程序设置"选项卡上,选择源路径"单选按钮,然后将源根目录添加到右侧列表中.
In JProfiler's main menu, select "Session->Session Settings" (while the session is running). On the "Application settings" tab, select the "Source path" radio button and add your source roots to the list on the right side.
这篇关于将源代码附加到Jprofiler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!