JDEbug with linux jdk1.2.2 from 01/21/00 works fine for me. Here my
key bindings. 


  (local-set-key [?\C-c ?t] 'jde-local-load-this)
  (local-set-key [?\C-c ?w] 'jde-local-insert-word-at-point-to-olib-file)

  (local-set-key [f5]   'jde-local-run)
  (local-set-key [C-f5] 'jde-debug)
  
  (local-set-key [f6]   'jde-local-insert)
  (local-set-key [f7]   'jde-compile)

  (local-set-key [f9]   'next-error)
  (local-set-key [C-f9] 'first-error)
  (local-set-key [M-f9] 'previous-error)

  (local-set-key [f8]    'jde-bug-set-breakpoint)
  (local-set-key [S-f8]  'jde-bug-clear-breakpoint)

  (local-set-key [S-f10] 'jde-bug-continue)
  (local-set-key [f10]   'jde-bug-step-over)
  (local-set-key [f11]   'jde-bug-step-into)
  (local-set-key [S-f11] 'jde-bug-step-out)

My customizing is as following. __Don't__ forget to set the
__jde-db-option-classpath__.

 '(jde-compile-option-debug (quote ("all" (t t t))))
 '(jde-db-option-classpath (quote ("." "/home/maierh/java")))
 '(jde-bug-jdk-directory "/usr/local/jdk1.2.2")
 '(jde-compile-option-classpath (quote ("." "/home/maierh/java")))
 '(jde-db-source-directories (quote ("~/java/test/" "~/java/utils/")))
 '(jde-db-debugger (quote ("jdebug" . "Class")))
 '(jde-run-option-classpath (quote (".:/home/maierh/java")))
 '(jde-bug-jpda-directory "/usr/local/jdk1.2.2")
 '(jde-bug-vm-includes-jpda-p nil))

Harald

Bogdan Hlevca <[EMAIL PROTECTED]> writes:

> Adam Ambrose wrote:
> 
> > Bryan Ischo wrote:
> > >
> > > To make a long story short, jde-db creates a running instance
> > > of jdb which simply hangs.  This is what I get:
> > >
> > > My configuration:
> > >
> > > The following JDK's show this problem:
> > >
> > > * All of Sun's 1.2.2 releases (1.2.2.rc1, 1.2.2.rc2, 1.2.2)`
> > >
> > > The following JDK's do not show this problem:
> > >
> > > * Blackdown's 1.2 pre-releases (1.2-pre-v1, 1.2-pre-v2)
> > >
> >
> > This shows what your problem is.  The newer JDKs for Linux (Sun's
> > releases, Blackdown's RC4) include a version of jdb that is built on top
> > of JPDA, the new debugging architecture in Java 2.  This new version of
> > jdb doesn't play well with JDE.  So you're better off at this point
> > either sticking with Blackdown or trying out the new beta JDEbug
> > debugger, which uses JPDA.
> >
> 
> I tried to enable JDPA for Linux with either of the above mentioned but I
> had no luck.
> >From what I experienced it looks like JDEbug  does not work well with any
> of  JDPAs available on Linux.
> I could enable it but the debugger could not run the program was exiting
> with an I/O error or all threads were suspended.
> I posted a few e-mails on this issue
> If you have better luck please let me know.
> Good luck
> Bogdan
> 
> 
> >
> > -Adam Ambrose

Reply via email to