On 2006-10-25 16:29-0700 Jerry wrote: > I have encountered a repeatable problem when using my Ada binding to PLplot, > and I'm wondering if it is something that I've done wrong with the binding.
I suggest the best general approach for debugging a new interface is to create or modify a C example to recreate the exact C library conditions that are giving you errors for your interface example. Assuming that the C example works and your interface example does not, that very much narrows the source of the problem to either the way you wrote your example in the interface language or the programming of the interface itself. In any case, for every new interface we strongly encourage making a complete set of standard examples following what is done in examples/c. The postscript result from each C example and the corresponding interface example should (ideally) be identical (although sometimes there are single-digit rounding differences). The approach of trying to mimic the simplest C examples and gradually moving to the more complicated ones often helps to isolate interface issues. Also, you might want to try valgrind. That is a great tool for figuring out memory management issues (if those happen to be the source of some/all of your difficulties). Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- 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 _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general