将源代码附加到Jprofiler [英] Attach source code to Jprofiler

查看:535
本文介绍了将源代码附加到Jprofiler的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是刚接触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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆