本文整理了Java中java.lang.Runtime.traceInstructions()
方法的一些代码示例,展示了Runtime.traceInstructions()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Runtime.traceInstructions()
方法的具体详情如下:
包路径:java.lang.Runtime
类名称:Runtime
方法名:traceInstructions
[英]Switches the output of debug information for instructions on or off. On Android, this method does nothing.
[中]打开或关闭指令的调试信息输出。在Android上,这种方法没有任何作用。
代码示例来源:origin: com.novell.ldap/jldap
/**
* Displays trace of each instruction executed in the virtual machine
* @param onOff A boolean that when set to true enables instruction
* tracing and when false disables instruction tracing.
*/
public static final void VMtraceInstructions( boolean onOff)
{
if( LDAP_DEBUG) {
if( VMtraceInstructions)
run.traceInstructions( onOff);
}
return;
}
代码示例来源:origin: org.jboss.bootstrap/jboss-bootstrap
/**
* Enable or disable tracing instructions the Runtime level.
*
* @param flag whether to enable trace
*/
public void traceInstructions(final Boolean flag)
{
Runtime.getRuntime().traceInstructions(flag.booleanValue());
}
代码示例来源:origin: org.jboss.jbossas/jboss-as-bootstrap
/**
* Enable or disable tracing instructions the Runtime level.
*
* @param flag whether to enable trace
*/
public void traceInstructions(final Boolean flag)
{
Runtime.getRuntime().traceInstructions(flag.booleanValue());
}
代码示例来源:origin: stackoverflow.com
Runtime r = Runtime.getRuntime();
r.traceInstructions(true);
r.traceMethodCalls(true);
r.exec("your command")
内容来源于网络,如有侵权,请联系作者删除!