Christopher Hylands wrote:
>
> The star you are loading has a bug in it that is causing
> the pigiRpc process to exit.
>
> Debugging incrementally loaded stars is tricky, there is
> some information at:
>
>
>http://ptolemy.eecs.berkeley.edu/ptolemyclassic/almagest/docs/prog/html/extending.doc7.html#1.7
> Debugging Ptolemy and Extensions Within Pigi
>
> Personally, I find it easiest to build a ptcl that has
> the star built in at link time.
>
> -Christopher
Good news for folks that want to debug dynamically loaded code: I just
tried to debug a dynamically loaded Star under RedHat Linux 5.2 and it
works although the Ptolemy binaries are not compiled for debugging.
Ptolemy can be started with "pigi -debug". If the dynamically loaded
Star is compiled with debug info then one can directly set a breakpoint
to an arbitrary function or line of its code (e.g. "break
SDFMyStar::go") after the Star has been loaded. All debugging commands I
tried worked just fine.
Regards,
--
Wolfgang Reimer (Dr.-Ing.)
T U I -- Technical University of Ilmenau, GERMANY, Thuringia
Address: TU Ilmenau, FEI/IKM, PF 100565, 98684 Ilmenau, GERMANY
http://ikmcip1.e-technik.tu-ilmenau.de Phone: +49-3677-69-2619
mailto:[EMAIL PROTECTED] Fax : +49-3677-69-1195
V I R T U A L P H O T O N I C S I N C O R P O R A T E D
mailto:[EMAIL PROTECTED] http://www.vp-bned.com
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]