All,Can somebody please give me any clues on how to config JDPA to run under Apache JServ / Oracle9iAS?thanks in advance !!Cheers,Maiko
1157 byte By
pfarwell at 2007-9-26 1:20:30
I know I've been able to use JDB in the past to remotely debug an application, but for some reason I can't get it to work with 1.3.0-C.I've set up a very simple 'toy' Swing application as a test.I have copied this example almost directly from the Sun tool docs:=======================set ...
I'm searching for a strong standalone graphical java debugger that can debug individual programs. In other words, debuggers that you don't have to define a "project" but rather just specify a class file with a main method.I would prefer if it we're freeware or open source. Perhaps just a ...
428 byte By
alu1344 at 2007-9-26 4:00:25
Hey, this is aplicable in Windows systems, JDK 1.3.1I kept finding this error trying to initialize the JPDA. The solution is to copy the dt_socket.dll file from the jre/bin dir into the current working dir. I'm not a DLL guru, but I think it's the same as to copy it to the system dir.I'm not ...
hi,can any one tell me how to write a userdefined database connection pool class for any database.
569 byte By
geezmo at 2007-9-26 5:54:45
Hello all,Sorry if the question has been asked before, but, is there a kind of "StackUtils" class/package with methods like:- getStackTrace() to dump the current stack trace (as if an exception had been thrown, caught and printStackTrace() had been called)- getCurrentMethodArguments() to get ...
124 byte By
smallsun at 2007-9-26 6:48:53
Does someone know any bug reporting tool for Windows platform? Is there any free tool? thx
488 byte By
rahulj20 at 2007-9-26 6:57:22
I have compiled my sources using IBM's jikes compiler with the -g option (for debugging purposes). I am using Sun's JRE 1.2.2. and JPDA 1.0.When I run the debugger using JPDA and try to set a watch for local variables I get an error saying that the local variable table is missing. And it asks ...
Hi,I am having some trouble using the JDI MethodEntryRequest.addClassFilter method. I am trying to filter method entry events belonging to only a few specific classes, like java.io.*, java.net.*However after specifying the filters using this method, the method entry/exit events for these ...
573 byte By
tk1403 at 2007-9-26 8:56:10
Hi all!!!I'm a rookie in using JDB. I've tried to debug a file and JDB tells me:Exception occured: java.lang.ClassNotFoundException (uncaught) thread ="main" , java.net.URLClassLoader$1.run(), line=200, bci=75andException occured: java.lang.ClassNotFoundException (uncaught) thread ="main" , ...
I'm debugging a Java application using the JDB debugger. Using the command "locals" one can display the value of variables local to a method. That's fine. But I haven't found out how to disply the value of member variables in objects.Lets say I have a class MyClass and that the application ...
654 byte By
yukingc1 at 2007-9-26 11:01:49
Help! I was trying to run jdb using this simple command (on Linux Mandrake 8.0):jdb hk.com.xit.crosseditor.Mainbut got the following error:VM initialization failed for: /opt/jdk1.3.1/bin/java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=capernaum:2273,suspend=y ...
336 byte By
shalakaC at 2007-9-26 12:15:52
Hi,I am trying to run the JPDA (jdi) sample examples(Trace) using J2SDK 1.3.1 but it gives me error saying cannot resolve symbol. I have set the PATH variable also, but i do not know how to run the JDI examples on jdk1.3.1. Can someone please help?Your help will be highly appreciated....it is ...
264 byte By
pepeio at 2007-9-26 13:38:49
Hello.For some quality tools, i want to be able to use JDI to enter debugging mode on demand, get infos, and exit debug mode, to keep on running at full speed the stable portions of the code that have no problem.Has someone got an idea?
458 byte By
daiwok at 2007-9-26 14:57:22
Hi all,I would like to know how to inpect the value an object in jdb. for example:...int a = 1;String b = "hello";Hashtable ht = new Hashtable();ht.put("key1","someString");>> breakpoint inserted here...at the jdb prompt:> print aa = 1>print bb = "hello"is it possible to inspect the ...
When I try to attach jdb to a running jvm, it sometimes hangs. In fact, this being the universe we all know and love, it *always* hangs on the program instance I care about, although I can do this just fine on many other programs, and even other instances of the same program. Anyone know what ...
Hello Java(R) communityThe problem is:I cannot read a stream of characters from the keyboard inside JDB. Just to set context I'm using:jdk 1.3.1_01 with jdb version 99/06/11 under RedHat(R) Linux(R) 7.1I've written the following code:1:import java.io.*;2:3:public class Test {4:5:Reader reader ...
2641 byte By
jsynge at 2007-9-26 15:25:41
I've noticed that when I set a breakpoint in a nested class, it doesn't work to stop the code, unless I set the breakpoint after I've created an instance of the class.In the code example below, if I set breakpoints A, B, C and D, only breakpoints A and C will be hit when MainClass.main ...
452 byte By
brianko at 2007-9-26 15:43:12
I am trying to find a way to debug my ejb deployed on weblogic 5.1. I am using JDK 1.3. I tried with Jbuilder 5.0 debugger, which did not work very well. I found Weblogic 6.1 documentation has the debugging information with IDE like Netbean or Jbuilder, but I could not find anything with ...
1246 byte By
xizh at 2007-9-26 16:33:54
I try to Debug my applete on netscape 6.21, using "Java(TM) Plug-in: Version 1.3.1_02".with the following as Java Runtime Parameters-Djava.compiler=NONE-Xnoagent-Xdebug-Xrunjdwp:transport=dt_socket,address=5000,server=y,suspend=n And what I get is error: C:\>jdb -attach 5000Error accessing ...
166 byte By
shawnbat at 2007-9-26 16:57:42
Does anyone know where you can find step by step information to configure JDPA with Forte v. 3.0? or If someone knows how, please let me know. Thanks...
I would like to use jdb on a jar file. How does this work? Normally, I invoke my app using java -jar app.jar
684 byte By
malleka at 2007-9-26 18:53:41
I downloaded the JPDA stuff and installed it. I have extended my PATH and LD_LIBRARY_PATH to include the new bin and lib/sparc respectively.When I do java -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,server=y,suspend=y ClassnameI get the following message:Listening for ...
384 byte By
ug52axi at 2007-9-26 22:10:07
Hidoes anyone know how to make jdbc connect to posqtgresql?I have tried all the documentation and tried to install ant as well but it didn't work,in the installation documentation they say use:build <--the dir that ant is> (windows)build.sh <--the dir that ant is> (Unix)BUT WHAT ...
164 byte By
patand at 2007-9-27 2:00:22
I want to connect an applet with an access(*.mdb) database, how I do?I now the jdbc odbc bridge but how work it?Please Help me!!!!!!!!!!
I upgraded from Java 1.3.1 to 1.4.0 and can't run the debugger via Kawa 5.0. The JDB works but not Kawa's debugger. The error message I get when I start Kawa is 'Unable to find either ...javai_g.dll OR ...jvm.dll. Your Debug option will be disabled Please check your JDK bin path for ...
Hi,does anyone know how all this stuff works?You take JDB and a class file, attach to a remote VM and....DEBUG.I cannot stop wondering how the debugger can properly associate the remote and the local class file.Any hints?ThxChristian
80 byte By
aijunga at 2007-9-27 10:01:10
Can anyone tell me how to attach jdb to a running VM with its process ID?
Hello,I have a strange problem with debugging my code. At least strange to me.Though I am able to start and debug my code using this statement/home/wrobel/forte_jdk/j2sdk1.4.0/jre/../bin/java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n -Djava.compiler=NONE ...
529 byte By
edsineka at 2007-9-27 11:40:07
I get the error when I try to run my app... (I am in the folder D:/Projects/EdsApp when I start JDB)run D:/Projects/EdsApp/EdsAppException occurred: java.lang.ClassNotFoundException (uncaught)"thread=main", java.net.URLClassLoader$1.run(), line=198 bci=72Any ideas? When I exit JDB, I get ...
183 byte By
ramyasa at 2007-9-27 11:43:21
hi, The kill call in JDB requests for a exception parameter. What do I give as the exception there?Any help will be greatly appreciated.Thanks,Ramya
Hello,Does anyone know how to obtain the return value of a method using JDI?Thanks,Shabbir
28 byte By
plucien at 2007-9-27 14:04:36
Java Data Base
1627 byte By
jhsia at 2007-9-27 14:06:42
Hi,I'm helping develop a debugger using JDI and have a question about watching certain types of variables that are in scope.I can watch local variables by getting the current thread's StackFrame and can watch static fields of outer classes by getting their corresponding ReferenceTypes. ...
233 byte By
reggiehg at 2007-9-27 14:53:43
Does the "suspend" command of "jdb" use the deprecated "Thread.suspend()" method? I hope not!!!When a breakpoint is hit in jdb, are all threads suspended? If not, how can that be arranged?TIA,Reggie
Hi,Is there any way of retrieving the return value of a method with JDI? I would like to have that possibility when tracing a program and logging method(s) entry and exit.Any hint on this problem is appreciated...
1240 byte By
malc_net at 2007-9-27 15:50:55
Hi, has anyone successfully used ddd with jdb under redhat? I'm using redhat 7.3, JDK 1.4.1 and ddd 3.3.1.My problem is that although I can get ddd to launch jdb and attach it to the virtual machine (I'm using the C virtual machine from the J2ME foundation profile), firstly ddd doesn't bring ...
Hi,There are 2 qts-1. can I get a Command Line Debugger that implements JDPAand can use the simple wordpad? If no, can anyone tell me why not such adebugger is there. Just the debugger without IDE.2. Can this be made to work with JDK 1.3.1 from Sun-// set boolean argument to false to ...
This is wrt to case :-4075010.It says the bug has been fixed ,but i am still getting the error.While debugging program which takes input from user(using STDIN).The debugging dosen't take place.i am uisng jdk1.3Programpublic class Test {public Test() {}public static void main(String[] args) ...
314 byte By
Glossy at 2007-9-27 18:54:58
Hello !!!I'm trying to start a debug session in Forte 4. I click on the menu option Project/Debug project and I receive the followin message :File Test.java cannot be converted to servlet. It doesn't implement javax.servlet.Servlet interface.What's the problem ...
630 byte By
wjdennis at 2007-9-27 20:03:03
We're having a problem with Java that's killing us: our JVM just ends for no reason at all. We're running on Windows (XP and NT) and start our application from a .bat file. Then absolutely randomly (sometimes after just a few seconds of running, sometimes hours later) the JVM simply ends and ...
451 byte By
abagar at 2007-9-27 20:11:49
Hi,If I set the suspend policy of a ModificationWatchPointEvent to SUSPEND_ALL, then if such an event occurs in the code, the debugger never receives it and just hangs there. The process also hangs. Eventset.resume() doesn't seem to work correctly.I am doing remote debugging in which process ...
Hi there,I'm trying to write a personalised debugger but am having many teething problems getting started.What is the procedure to create break points. I see the EventRequestManager.createBreakPointRequest(Location l) method, but see no obvious way to create the required Location it needs. And ...
119 byte By
roldanc at 2007-9-27 20:45:14
Hi All,Is there any way to know whether a .class was generated with debug informacion ?Thanks !!!!
6946 byte By
larslin at 2007-9-27 21:00:20
Hi!I was wondering if someone could tell me how to debug an application that is using JNI using JDB. Is it possible to enter the parts written in C and set breakpoints there? Would really appreciate if someone could describe how to debug an application that probably has something wrong in the ...
Hi there again,Firstly, just a quick thanks to you lot out there who have helped me recently - honestly, you don't know how much you have helped me. Hats off to you, and keep up the good work!Ok, I am really interested in accessing the return values from methods. I understand that each thread ...
package com.RJCBEmulator;public class Testing{public static void main(String[] args) {System.out.println("Start");NativeObject myClass = new NativeObject(); System.out.println("Second line main" );myClass.printInfo();}}public class NativeObject {static{System.loadLibrary("RJCBEmulator");}public ...
Hello,First off, sorry if this isn't the correct forum for this.I'm developing a web app - my development machine is running Windows 2000 and JDeveloper 3.2.3 JVM1.3.1_04, while the target app server is running SunOS 5.8 and Weblogic 5.1 SP10. Try as I might I can't get remote debugging of a ...
2050 byte By
mlcranea at 2007-9-27 23:57:07
I'm currently developing a program whose purpose is to run a small target application, stop at specific breakpoints (such as line events or method exit events), examine the various objects that actually exist, and dump the information to a text file. This is part of a larger process.I've ...
310 byte By
guigucha at 2007-9-28 0:29:20
hello,I need some information about the capability of a JPDA Debugger mechanism to debugg .exe application.This .exe application, in fact, launch a java application and i want know how to attach a debugger to the JVM launch by the .exe application.Thanks for your ...