jdi Questions
2
I have my own JDI Debugger which calls the toString method on some objects:
com.sun.jdi.ObjectReferenceobject object = ...
ThreadReference threadRef = frameProxy.threadProxy().getThreadReference();...
Marybellemarybeth asked 17/8, 2020 at 21:13
1
The situation that I'm facing is when I debug my code in a sub-thread, whose wrapping future has a timeout, I always get a TimeoutException on the outter future.get(timeout), my idea is if I can kn...
6
Solved
I'm running Eclipse for Java. I created a DOM version of an XML file. Now I want to change an attribute of an element in the file. I called a method that called a method in the class that controls ...
1
Solved
So, JDI allows us to set a breakpoint in the debuggee app and then get the current StackFrame via JDWP. To my understanding, JVMTI is used at the debuggee side to send the requested information to ...
Botfly asked 17/6, 2020 at 16:20
1
Solved
I am using the JDI to recode the variable status in the method. According to the tutorial, I am not found how to get objectReference value, like List, Map or my custom class. It just can get Primti...
4
Solved
When I try to debug on my device I sometimes get an error and the debugger doesn't stop on any breakpoint. Also, the application doesn't even start properly, it just freezes at kinda black screen w...
0
Within a Java process, I want to access the JDI (Java Debugging Interface) of that same process.
I make the following assumptions:
The process is being executed within the debugger (in Intelli/J...
1
.NET has a couple of handy annotations that instruct a debugger to step through/over certain methods. I would like to know if there is an equivalent that works on the Java platform.
For instance:
...
3
I have my java applet codee,I am trying to debug using eclipse Indigo EE. I am trying to debug on remote using
debug configuration and port.
When I try to execute the application, it gives always ...
1
Solved
I am having some problems updating a debugger to work with Java 8. Consider the following program for example:
public class Lam {
public static void main(String[] args) {
java.util.function.Func...
3
Solved
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 th...
1
Solved
I found some classes designed for debugging in package com.sun.jdi like VirtualMachine, but I can't use this because package seems not exist in Sun JDK7.
How to use this package?
BTW. lib/sa-jdi....
1
Solved
In the Java Debugger Interface documentation for the Location class, there's a paragraph discussing the "stratum" of the location. I've been looking around a bit for more detail on how one would go...
3
Solved
I'm using jdi interfaces to create a debugger and when I use MethodEntryRequests to enable method entry tracing the debugged program slows down by factor of tens. I have set filter for main thread ...
1
© 2022 - 2024 — McMap. All rights reserved.