Are there any better Java CLI debugger tools better than jdb?

I successfully debugged an Android app with jdb today. But I found that jdb is not as convenient as gdb for me: the convenience and functionality provided by jdb are significantly inferior to those provided by gdb.

Are there any better Java debuggers you can use in command line mode to select? Preferably, it would be as powerful, convenient, and functional as gdb for regular programs, but for Java.

Again, I'm not interested in anything that is part of some development environment. This should be a command line tool such as gdb. I use vim to edit my code, not the IDE.

+3
source share
1 answer

rlwrap-jdb , as mentioned in this related post , is just a wrapper around jdb, but brings it closer to the gdb experience. From rlwrap-jdb README.md:

rlwrap-jdb is a rearguard to make jdb practically usable. It uses rlwrap to not only add command line editing and history, but (using the rlwrap nifty filter mechanism) convenient aliases, repeating the command and completing control points and variables.

To use, simply add rlwrap-jdbjdb: to the command rlwrap-jdb jdb ....

0
source

All Articles