[2518] in java-interest
Re: jdb run command problem
daemon@ATHENA.MIT.EDU (Thomas Ball)
Wed Oct 4 00:41:37 1995
Date: Tue, 3 Oct 1995 12:14:13 -0700
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
To: huizhao@krypton.stanford.edu
Cc: java-interest@java.Eng.Sun.COM
The run command requires that you specify the class to run, followed by
any optional arguments. It tried to run the class "arg1", and reported
its failure. The reason for requiring the class name is that "in theory"
you can run multiple classes concurrently, each in their own threadgroup.
I say "in theory" because I haven't had time to test this much yet.
Note that if you specify the arguments on the command line (as in
"jdb MyClass arg1 arg2"), those arguments are saved so that just typing
"run" is sufficient to start your class.
Tom Ball
Java Products Group
> From daemon@java Tue Oct 3 11:20:57 1995
> Subject: jdb run command problem
> To: java-interest@java
> Cc: huizhao@krypton.stanford.edu
> Mime-Version: 1.0
> X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
>
> Hi,
>
> When I using jdb, try to specify arguments in 'run' command, like this:
>
> 'run <arg1> <arg2>'
>
> It alwayse failed, it says 'arg1 failed' which doesn't make sense, since it
> is just an argument. By the way, the program I debugged is a working one.
>
> I seems to me jdb run command don't like arguments. Is there any work around?
>
> thx,
> huizhao
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-interest-request@java.sun.com
>
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com