Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about jpda

Read more about jpda

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 - jpda

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

Does anyone know if the ibm jdk associated with websphere 8.5.5.19 supports debugging via jpda using dt_socket option on windows 10?

Intellij automatically generates read-only debug options that include dt_socket but we are using this ancient jvm that "may" only support dt_shmem on windows. Just want to know for sure tha...
test-img

Bryan Pauquette

windows

debugging

intellij-idea

websphere

jpda

Votes: 0

Answers: 1

Latest Answer

dt_socket works on Windows as well. The documentation is a bit misleading in that dt_shmem is only an option on Windows. For the record, that probably isn't an ancient JVM in there unless it just hasn...
test-img

Mark

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