On 4 May 2006, at 07:57, Lloyd Dupont wrote:

I confused myself.
There was a bug.
Here is the corrected version which read both current process and gnustep-base.dll symbols.
And display your stack trace.

I would dearly like to see stacktrace capability contributed to the base library (I guess in NSDebug.m or NSException.m)

Problem is I would like to replace 'gnustep-base.dll' by a more multiplatform constant / invocation. One that could read 'gnustep-base.dll' on windows and 'gnustep- base.dylib' on MacOSX for example...

Any tips?

There is objc_get_symbol_path() ... which is used in NSBundle.m and NSPathUtilities.m to get the path of the library.

I don't think it works on *all* platforms, but it does work on the main ones (gnu/linux, and windows at least).



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to