Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about jdwp

Read more about jdwp

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - jdwp

How to programmatically detect whether current JVM is connected by a remote debugger?

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 know ...
test-img

D Blacksmith

java

jvm

jdi

jdwp

jpda

Votes: 0

Answers: 1

Latest Answer

One option to find if debugger is attached is to check whether a thread named "JDWP Command Reader" is running: public static boolean isDebuggerPresent() { ThreadInfo[] infos = ((com.sun...
test-img

apangin

How to receive breakpoint events by jvmti, from remoting debugger?

There is a jvm in a shared vm. Other developer may remote debugging by idea, and cause hang up at breakpoints. In some reason, I need to continue the process. I've programed an agent with jvmti, tried...
test-img

T. Chen

intellij-idea

jvm

remote-debugging

jvmti

jdwp

Votes: 0

Answers: 1

Latest Answer

In HotSpot JVM, can_generate_breakpoint_events is an exclusive capability - this means, only one JVM TI agent at a time may possess this capability. The standard jdwp agent used for remote debugging i...
test-img

apangin

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved