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...
Uniplanar asked 1/3, 2022 at 12:2

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 ...
Etheleneethelin asked 16/2, 2010 at 14:8

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...
Oligarch asked 23/11, 2019 at 17:58

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...
Specify asked 18/7, 2012 at 16:36

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...
Graehl asked 7/8, 2016 at 20:22

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: ...
Mastiff asked 15/11, 2012 at 9:3

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 ...
Beberg asked 18/10, 2011 at 8:50

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...
Aimo asked 29/3, 2014 at 19:34

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...
Undervest asked 15/1, 2012 at 4:24

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....
Understandable asked 19/6, 2012 at 10:44

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...
Paraphrast asked 6/8, 2010 at 13:4

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 ...
Demodulate asked 15/4, 2009 at 10:43
1

© 2022 - 2024 — McMap. All rights reserved.