自定义调试器来调试远程/本地Java应用程序

时间:2021-04-18 17:18:10

I want to debug a remote java application using a java program(i don't mind using eclipse api in the program) but i don't want to debug it using eclipse GUI.

我想使用java程序调试远程java应用程序(我不介意在程序中使用eclipse api)但我不想使用eclipse GUI调试它。

Any suggestion/help will be greatly appreciated.

任何建议/帮助将不胜感激。

Thanks in advance!!

提前致谢!!

1 个解决方案

#1


0  

Use the native jdb, more about this here: http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/jdb.html

使用本机jdb,更多相关内容:http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/jdb.html

notice that the remove debugged application should be run in debug mode for you'll able to attach it.

请注意,删除调试的应用程序应该在调试模式下运行,以便您能够附加它。

#1


0  

Use the native jdb, more about this here: http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/jdb.html

使用本机jdb,更多相关内容:http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/jdb.html

notice that the remove debugged application should be run in debug mode for you'll able to attach it.

请注意,删除调试的应用程序应该在调试模式下运行,以便您能够附加它。