зеркало из https://github.com/mono/mail-archives.git
91 строка
3.2 KiB
HTML
91 строка
3.2 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [Mono-osx] mkbundle'd binaries and stack trace symbols
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20mkbundle%27d%20binaries%20and%20stack%20trace%20symbols&In-Reply-To=">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="002813.html">
|
||
|
<LINK REL="Next" HREF="002821.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[Mono-osx] mkbundle'd binaries and stack trace symbols</H1>
|
||
|
<B>Jeremiah Boyle</B>
|
||
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20mkbundle%27d%20binaries%20and%20stack%20trace%20symbols&In-Reply-To="
|
||
|
TITLE="[Mono-osx] mkbundle'd binaries and stack trace symbols">jeremiah.boyle at gmail.com
|
||
|
</A><BR>
|
||
|
<I>Tue Apr 6 19:51:29 EDT 2010</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="002813.html">[Mono-osx] Encoding problem
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="002821.html">[Mono-osx] MonoMac released.
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#2815">[ date ]</a>
|
||
|
<a href="thread.html#2815">[ thread ]</a>
|
||
|
<a href="subject.html#2815">[ subject ]</a>
|
||
|
<a href="author.html#2815">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>Stack traces from mkbundle'd binaries on OSX don't seem to have line number
|
||
|
information. They appear as they would if run with the mono binary without
|
||
|
the --debug flag. I would like the mkbundle'd binary to run in debugging
|
||
|
mode so I get line numbers. Is this possible?
|
||
|
|
||
|
A simple demonstration:
|
||
|
|
||
|
$ gmcs -debug Test.cs
|
||
|
|
||
|
$ mono --debug Test.exe
|
||
|
Unhandled Exception: System.Exception: asdf
|
||
|
at Test.Program.Main (System.String[] args) [0x00000] in /tmp/Test.cs:9
|
||
|
|
||
|
$ AS="as -arch i386" CC="cc -m32" mkbundle -o Test Test.exe
|
||
|
OS is: DarwinSources: 1 Auto-dependencies: False
|
||
|
embedding: /tmp/Test.exe
|
||
|
Compiling:
|
||
|
as -arch i386 -o temp.o temp.s
|
||
|
cc -m32 -g -o Test -Wall temp.c `pkg-config --cflags --libs mono` temp.o
|
||
|
Done
|
||
|
|
||
|
$ ./Test
|
||
|
Unhandled Exception: System.Exception: asdf
|
||
|
at Test.Program.Main (System.String[] args) [0x00000] in <filename
|
||
|
unknown>:0
|
||
|
-------------- next part --------------
|
||
|
An HTML attachment was scrubbed...
|
||
|
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20100406/6d254ec9/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20100406/6d254ec9/attachment.html</A>
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="002813.html">[Mono-osx] Encoding problem
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="002821.html">[Mono-osx] MonoMac released.
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#2815">[ date ]</a>
|
||
|
<a href="thread.html#2815">[ thread ]</a>
|
||
|
<a href="subject.html#2815">[ subject ]</a>
|
||
|
<a href="author.html#2815">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
|
||
|
<hr>
|
||
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
||
|
mailing list</a><br>
|
||
|
</body></html>
|