0

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?

Community
  • 1
  • 1
yotam
  • 11
  • 2

1 Answers1

0

You have to use jdb outside Matlab.

jdb is is a standalone app that allows you to connect to running JVM.

Oo.oO
  • 12,464
  • 3
  • 23
  • 45