我有一个在我的本地主机上运行的应用程序,我想分析该应用程序以查看如何提高应用程序的性能。我正在按照定义执行设置步骤,但它无法连接到本地主机服务器,是否有正确的分步指南来说明如何:
- 配置 JProfiler 以使用在 localhost 上运行的应用程序?
- 在分析应用程序时如何分析以及要寻找哪些区域?
- 使用 Eclipse IDE 配置 JProfiler,现在可以在 Eclipse 的运行下拉列表中看到配置文件,但它们没有被激活,那么如何激活它呢?
我有与此问题类似的问题,但无法理解解决方案,对此的任何建议将不胜感激。
我现在尝试了一段时间,但没有成功配置 JProfiler 以使用在 localhost 上运行的应用程序,任何建议都将受到高度赞赏。
我是分析应用程序世界的新手,如果您能提供一些有用的指针,我将不胜感激
我收到以下错误消息:
Could not connect to 127.0.0.1:8849. Please make sure that the remote address is correct, the remote program is started properly, and the network route allows socket connections.
我已经使用新服务器集成设置了配置,不知道还需要做什么以及如何解决这个问题。
添加-agentpath:C:\Users\user~1.DOS\SOFTWA~1\JPROFI~1\bin\WINDOW~1\jprofilerti.dll=port=8849,nowait,id=117,config=C:\Users\user\.jprofiler6\config.xml
到vm arguments
运行配置后,然后当我运行配置时,我得到
JProfiler> Protocol version 32
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 64-bit library
JProfiler> Don't wait for frontend to connect.
JProfiler> Using config file C:\Users\user\.jprofiler6\config.xml (id: 117)
JProfiler> Could not find session with id: 117`