I am trying to debug java application within matlab using the instructions from here .
Matlab starts good and echo:
JVM is being started with debugging enabled.
Use "jdb -connect com.sun.jdi.SocketAttach:port=4444" to attach debugger.
but when I try to attach the debugger I get:
>> jdb -connect com.sun.jdi.SocketAttach:port=4444
Undefined function 'jdb' for input arguments of type 'char'.
What am I doing wrong?
You have to use jdb outside Matlab.
jdb is is a standalone app that allows you to connect to running JVM.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.