Questions tagged [jdb]

The Java Debugger, jdb, is a simple command-line debugger for Java classes.

The Java Debugger, jdb, is a simple command-line debugger for Java classes. It is a demonstration of the Java Platform Debugger Architecture that provides inspection and debugging of a local or remote Java Virtual Machine. Documentation available at http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jdb.html .

174 questions
0
votes
0 answers

java debugger - shortcut keys

Summary: Need jdb shortcut key to terminate a hanging program Specifics: I am using the jdb from the command line. I continue to get a "ArrayIndexOutOfBoundsException". This hangs up the jdb. I want the keyboard shortcut key which will exit the…
JDragon314159
  • 191
  • 1
  • 5
  • 15
0
votes
1 answer

Debug Java in MATLAB - jdb is not found

I am trying to debug java application within matlab using the instructions from here. Matlab starts good and echo: JVM is being started with debugging enabled. Use "jdb -connect com.sun.jdi.SocketAttach:port=4444" to attach debugger. but when I…
yotam
  • 11
  • 2
0
votes
1 answer

log4j warning connecting to apache Phoenix database

I have Apache Phoenix installed on a cloudera cluster. I'm trying to connect to the database and run some simple SQL commands. My code is below. I'm creating an executable jar file locally and running it on the cluster. I'm getting the following…
scalauser
  • 449
  • 1
  • 12
  • 23
0
votes
1 answer

net.ucanaccess.jdbc.UcanaccessSQLException: attempt to assign to non-updatable column

try{ //taking input from user about how much balance Scanner input = new Scanner(System.in); Class.forName("net.ucanaccess.jdbc.UcanaccessDriver"); String url =…
Bibek Shakya
  • 1,233
  • 2
  • 23
  • 45
0
votes
0 answers

Inserting from Variables to Jtable, from DB

this is my 9th hour today and i have decided to finally reach out and seek a little bit of help because i am really struggling with this. I have been googling for hours and i can't seem to find a suitable solution for what i am looking for. The…
0
votes
0 answers

JSch stdout not appearing when running from command line

When I run the following code which is a modified block from one of the jsch examples. The ssh command works but although I can see subsequent stdout/stderr in eclipse or jdb I cannot see output when I run outside eclipse. I assume that stdout…
0
votes
2 answers

Calling a Postgres stored function SQL error

Im calling a stored function like the following: PreparedStatement deleteAll=connection.prepareStatement("{ call delete_all_data() }"); deleteAll.execute(); And in the logs i see: 15:16:31,950 WARN SqlExceptionHelper:143 - SQL Error: 0, SQLState:…
PhoonOne
  • 2,678
  • 12
  • 48
  • 76
0
votes
1 answer

ant jdb return immediately from a task

I'm wanting use ant to run a class and then the debugger (jdb) or the other way round Whichever way round I do it I need one to return immediately as the other needs to attach... here's the two tasks I'm working on at the moment... (where debug is…
Chris Camacho
  • 1,164
  • 1
  • 9
  • 31
0
votes
1 answer

Setting breakpoints at methods of inner and anonymous classes in JDB

I'm attempting to operate JDB programmatically. Unlike any sane debugger, JDB refers to the source code using class names instead of source file names. I'm assuming it's related to having the bytecode stored in multiple .class files instead of a…
Idan Arye
  • 12,402
  • 5
  • 49
  • 68
0
votes
2 answers

Android DDMS does not list apps running on device

Running DDMS to the emulator allows me to view all currently-running apps and their respective port number which I can then use on JDB. DDMS to an actual device does list the device in the DDMS window, but I cannot expand it to show all…
bunbun
  • 2,595
  • 3
  • 34
  • 52
0
votes
3 answers

how to change password in my login and register page?

I have this code login.jsp and registration.jsp these jsps let me log in and register successfully and data will be saved it mysql database. Now, the next thing to do is on how to change password. Can you guys help me with the change password…
2cool4u
  • 41
  • 1
  • 2
  • 9
0
votes
1 answer

jdb using -javaagent option

I am using an opensource tool called dimmunix to catch the deadlock sequence and in particular interested in creating a sequence of interleaving to create deadlock manually using jdb.If i am using java with dimmunix with -java agent option it is…
Sur123
  • 35
  • 9
0
votes
2 answers

Unable to connect to DB2 server via db2cmd

I'm unable to connect to db2 server using db2cmd command db2 connect to mydb user myuser using password Getting the following message SQL8002N An attempt to connect to a host failed due to a missing DB2 Connect product or invalid license. …
Andrew
  • 51
  • 1
  • 6
0
votes
1 answer

Outputing certain elements from a returned database returned List

I am querying a database to return a list of values based on an input string; and these list of values are displayed in a searchbox for the user. The issue is, my returned lists are being displayed as objects instead of a list of names. Attached are…
Kermit_ice_tea
  • 508
  • 2
  • 8
  • 16
0
votes
2 answers

JDB Map Lookup With Integer

I'm debugging some code that uses Map, but I'm having great difficulty finding the values associated with various Integers! Here's a minimum working example: java code (saved to .\src): import java.util.Map; import…
lmat - Reinstate Monica
  • 7,289
  • 6
  • 48
  • 62
1 2 3
11
12