On Jun 26, 2006, at 1:09 PM, Bob Hanson wrote:
> I'd be interested in that. How does it work?

basically you have to 1) set up a separate eclipse environment to  
debug it and 2) configure the applet runtime parameters of your java  
plug-in.

1) go to run > debug..., and start a new debug environment under  
"remote java application". you can leave it at localhost and 8000 if  
you're doing this all on your own computer.

2) this page will tell you a good bit: http://java.sun.com/j2se/1.5.0/ 
docs/guide/plugin/developer_guide/debugger.html. the command line  
parameters they specified didn't work for me, however. if they don't  
work for you, this is what i used instead: -Xdebug - 
Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n.

after this, basically all you need to do is open the page in your  
favorite browser, make sure the applet has loaded, then select and  
start the debugging environment you created in eclipse. if you don't  
get an error, it's working, and any breakpoints you have set in your  
code will be, well, functional. i used this to see how 2d arrays of  
doubles are passed between javascript and java, and hopefully you  
will have some other use for it too.

if you need any more help with this just let me know.

> The presumption here is that bonds are not changing. If you also want
> to change bonding, you can either do that yourself manually using the
> connect script or have Jmol redo all bonding automatically -- but that
> will slow things down.

i honestly don't know whether or not this is something i need to  
consider. if it is, is there anything simple like a refreshBonds()  
method? or is that something extra i may have to write?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to