Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Debugging java class called from Matlab
Date: Thu, 25 Sep 2008 21:04:01 +0000 (UTC)
Organization: Argonne National Laboratory
Lines: 14
Message-ID: <gbguc1$4r7$1@fred.mathworks.com>
References: <fb1gnk$5o4$1@fred.mathworks.com> <gap9ke$gne$1@fred.mathworks.com> <gbglel$g7r$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1222376641 4967 172.30.248.37 (25 Sep 2008 21:04:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 25 Sep 2008 21:04:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1452524
Xref: news.mathworks.com comp.soft-sys.matlab:492085


Andy,

When I went to try what you suggested, I found the real problem.  I had put java.opts in the wrong bin/arch.  I do apologize.

It is apparently OK to put the opts on separate lines.  This is what I am now using:

-Xdebug
-agentlib:jdwp=transport=dt_socket,address=5678,server=y,suspend=n
-Djava.compiler=NONE

It is truly awesome.  Thanks to you and the others for working this out.

     -Ken