Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: soril on January 28, 2007, 10:13:28 pm

Title: Java debug and sequence diagrams
Post by: soril on January 28, 2007, 10:13:28 pm
Hello !

There is no way I can get this to work. Is it working better with MDG eclipse plug-in ?

I can build and make the application run but when I click on the "debug" button, it doesn't work. Instead, the following text appears :

"Loading Java Virtual Machine from path ....jre\bin\client\jvm.dll
Obtained Java virtual Machine version 1.4"

And then, nothing ! No error message or anything but no expected behavior neither.

Thank you for your help !


Title: Re: Java debug and sequence diagrams
Post by: «Midnight» on January 29, 2007, 04:57:27 am
Check the documentation carefully. I'm not sure (since I don't debug Java sessions) but I think I remember a minimum version of 1.5 someplace.
Title: Re: Java debug and sequence diagrams
Post by: soril on January 29, 2007, 06:12:53 am
I tried with JDK 1.6 also without success.
Title: Re: Java debug and sequence diagrams
Post by: «Midnight» on January 29, 2007, 01:04:05 pm
Is the JVM in your Windows path?
Title: Re: Java debug and sequence diagrams
Post by: soril on January 29, 2007, 02:42:05 pm

I can type "java" anywhere and it will run the JVM (the PATH environment variable is already set to include the JDK).

Thank you guys for your help ! I'm trying to make this work, without success so far. If you have any idea, please let me know since I want to try this reverse engineering for the sequence diagrams but I can't make that feature to work.
Title: Re: Java debug and sequence diagrams
Post by: «Midnight» on January 29, 2007, 03:05:43 pm
That's all I can think of.

However, by no means does that suggest there isn't more you can do. Just that I've little experience in this area.

There have been quite a few postings here about Java configuration, including debug sessions. Try a search of the forum.

Experience - happy or otherwise - has taught me that you should try several search word combinations. Also, remember to go back quite a ways. Try 500 days or so.
Title: Re: Java debug and sequence diagrams
Post by: soril on January 29, 2007, 03:54:24 pm
Thank you for your help ! :)

When I search the forum, I cannot find anyone that make it work.

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1168274538;start=0#0
http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=Automation;action=display;num=1166040545;start=0#0

So I don't know if that feature is working at all. The EA documentation doesn't seeem clear and I have seen a demo (http://www.sparxsystems.com/resources/demos/index.html)
But the demo doesn't work even if I follow these steps !

I must be doing something wrong... but the feature surely is not easy to use.

Thank you again for your time
Title: Re: Java debug and sequence diagrams
Post by: soril on January 31, 2007, 12:23:05 pm
I tried MDG Eclipse and it seems that I cannot generate sequence diagrams using the EA interface anymore. Is that correct ?

My hope was to be able to integrate eclipse with EA so that I could debug in eclipse and be able to generate the corresponding sequence diagram, the same way it happens if I could make the java debugger work in EA (without the MDG plug-in) but that doesn't seem to be true. Documentation does not mention this.

Thank you for assistance.