My application does not support next generation java plug in, but in one of my document i see steps to debug this application to set jvm runtime parameter as -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y .
我的应用程序不支持下一代java plug in,但是在我的一个文档中,我看到了调试这个应用程序的步骤,将jvm运行时参数设置为-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,服务器=y,suspend=y。
Now the problem is with this parameter Internet Explorer is either crashing or hanging without loading anything. once removing this parameter solves this problem and application is running fine.
现在问题是,这个参数Internet Explorer要么崩溃,要么不加载任何东西。一旦删除这个参数,这个问题就解决了,应用程序运行良好。
So is this possible to debug this application with some other parameter? i tried -Xdebug -Xrunjdwp:transport=dt_socket,address=localhost:8000,server=y,suspend=y also but not working.
那么,是否可以用其他参数来调试这个应用程序呢?我尝试了-Xdebug -Xrunjdwp:transport=dt_socket,address=localhost:8000,服务器=y,挂起=y,但不工作。
Could anyone please guide me debug this remotely? Thanks in Advance...
有人能帮我远程调试一下吗?提前谢谢…
1 个解决方案
#1
5
Well, it is not your internet explorer that is hanging, but your application is not giving a response.
好吧,这不是你的ie浏览器,但你的应用程序并没有给出回应。
Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
If we look at the last option, the name already shows you why there is no longer a response: suspend=y tells the JVM to wait with starting your application till a debugger attaches itself. So, changing this to suspend=n will solve your problem and you can attach your debugger later as the need arises.
如果我们看一下最后一个选项,这个名称已经显示了为什么不再有响应:suspend=y告诉JVM等待启动应用程序,直到调试器连接到自己为止。因此,将其更改为suspend=n将解决您的问题,您可以在需要时附加调试器。
#1
5
Well, it is not your internet explorer that is hanging, but your application is not giving a response.
好吧,这不是你的ie浏览器,但你的应用程序并没有给出回应。
Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
If we look at the last option, the name already shows you why there is no longer a response: suspend=y tells the JVM to wait with starting your application till a debugger attaches itself. So, changing this to suspend=n will solve your problem and you can attach your debugger later as the need arises.
如果我们看一下最后一个选项,这个名称已经显示了为什么不再有响应:suspend=y告诉JVM等待启动应用程序,直到调试器连接到自己为止。因此,将其更改为suspend=n将解决您的问题,您可以在需要时附加调试器。