English 中文(简体)
JDI: How to pause a Java application (JVER) as in the debugger
原标题:JDI: How to pause a Java application (JVM) like in the debugger

I am looking for potentially a JDI API to pause the JVM at any arbitrary point during its execution. Looking at the BreakPointRequest createBreakpointRequest method needs a specific location. Is there any other API that does not need a location or someway to get current Location that could be passed to create a breakpoint.

我基本上寻求一种方式来附上和暂停申请,然后利用JVERTI代理接受“突破点”活动的回击,以进行进一步处理。 增 编

最佳回答

断点只具有源地的含义。 也许最好通过中止目前由联合考试委员会管理的所有座椅,任意中止你的申请。 <http://docs.oracle.com/javase/6/docs/platform/jvmti/jvmti.html#SuspendThreadList”rel=“nofollow”>SuspendreadList(>>/a>或 follow 这一机制将是你所期待的暂停。

问题回答

i think jdb - The Java Debugger will be the best option. please check the url about the jdb

rel=“nofollow” http://docs.oracle.com/javase/1.3/docs/tooldocs/solaris/jdb.html





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签