mail-archives/mono-list/2003-October/016163.html

152 строки
6.7 KiB
HTML
Исходник Постоянная ссылка Ответственный История

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] Debugging Tips
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:steve%40mudflapsoftware.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016162.html">
<LINK REL="Next" HREF="016167.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] Debugging Tips
</H1>
<B>Steve Mentzer
</B>
<A HREF="mailto:steve%40mudflapsoftware.com"
TITLE="[Mono-list] Debugging Tips">steve@mudflapsoftware.com
</A><BR>
<I>Mon, 6 Oct 2003 16:39:35 -0700</I>
<P><UL>
<LI> Previous message: <A HREF="016162.html">[Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
</A></li>
<LI> Next message: <A HREF="016167.html">[Mono-list] Debugging Tips
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16163">[ date ]</a>
<a href="thread.html#16163">[ thread ]</a>
<a href="subject.html#16163">[ subject ]</a>
<a href="author.html#16163">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>This may be a really stupid question, but how do you enable the 'debug'
build of mono? I want to track down the dreaded 'bus error' that appears to
be plaguing OS/X installations since 0.23.
I am a real newbie with unix make files and gcc. Is there an equivalent in
the unix world to a .map files, symbol info and enabling the crash reporting
to display the seg/offset/etc so I can narrow down the issue?
Thanks In Advance!
----- Original Message -----
From: &quot;Pablo Fischer&quot; &lt;<A HREF="mailto:pablo@pablo.com.mx">pablo@pablo.com.mx</A>&gt;
To: &quot;Mono List&quot; &lt;<A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>&gt;
Sent: Monday, October 06, 2003 4:15 PM
Subject: Re: [Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
&gt;<i> Why?.. I didnt know that I needed just Mono to run Gtk, cause in
</I>&gt;<i> go-mono.com, one of the requirements for Gtk# are Gtk Runtime and .NET,
</I>&gt;<i> but if It's not necesarry.. I'll remove it :).
</I>&gt;<i>
</I>&gt;<i> Ok, I'm a Debian user and a fan of apt-get.. so the last version for
</I>&gt;<i> Debian (Alp's Repository) is the .26. I know that I can compile it and I
</I>&gt;<i> really want to do that.. but damn.. I love apt-get :).
</I>&gt;<i>
</I>&gt;<i> So, If in the Windows (2k) I uninstall the .NET framework, change the
</I>&gt;<i> Mono version from .28 to .25 (cause .26 doesnt works for me) and the
</I>&gt;<i> Gtk# from .10 to .8 it will work?,
</I>&gt;<i>
</I>&gt;<i> Also, another question: If I have my .exe app, the windows users can
</I>&gt;<i> download and use it with .NET (installing the gtk# in the .NET
</I>&gt;<i> directory) but WITHOUT mono, does my app will work or needs of Mono?
</I>&gt;<i>
</I>&gt;<i> Thanks!
</I>&gt;<i> Pablo
</I>&gt;<i> El lun, 06-10-2003 a las 17:29, Pavlica, Nick escribi<62>:
</I>&gt;<i> &gt; Pablo,
</I>&gt;<i> &gt; Why are you installing the .NET frame work in addition to Mono if you
</I>&gt;<i> &gt; are developing on Linux/Mono+GTK and deploying on Windows? I would
</I>&gt;<i> &gt; recommend using Mono .28+GTK or newer on both systems. Using the same
</I>&gt;<i> &gt; runtime on both operating systems will allow you to have greater
</I>&gt;<i> &gt; confidence in the functionality of your software.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; My 2 Cents :)
</I>&gt;<i> &gt; Nick Pavlica
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; On Mon, 2003-10-06 at 15:03, Pablo Fischer wrote:
</I>&gt;<i> &gt; &gt; Hello!!
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; I need to install Mono and Gtk# in 25 computers running Windows (Im
</I>&gt;<i> &gt; &gt; going to develop an app for the university in Linux and run it in
</I>&gt;<i> &gt; &gt; Windows).
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; Im installing this packages in this order:
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; * .NET FrameWork
</I>&gt;<i> &gt; &gt; * Mono-.28 (I tried with .25 and I have the same error)
</I>&gt;<i> &gt; &gt; * Gtk#-10, but the stable version (like 3.xx MB), it contains the
</I>&gt;<i> &gt; &gt; GtkRuntime
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; Now Im testing with a simple app created with glade-sharp, gtk-sharp,
</I>&gt;<i> &gt; &gt; its a simple button that says: Bye World. But Everytime I try to run
</I>it
&gt;<i> &gt; &gt; it crashes, giving me this error:
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; FAiled to load function gtksharp_glade_xml_get_filename from
</I>&gt;<i> &gt; &gt; gtksharpglue (this error appers twice)
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; Unhandled Exception: System.TypeInitializationException: An exception
</I>&gt;<i> &gt; &gt; was thrown by the type initializer for
</I>&gt;<i> &gt; &gt; Gtk.Application---&gt;System.NullReferenceException: A null value was
</I>found
&gt;<i> &gt; &gt; where an object instance was required.
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; I compiled this in my linux, running
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; Mono .26
</I>&gt;<i> &gt; &gt; gnome, gtk, glib, gtk-sharp-glue with .8-1
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; Thanks!
</I>&gt;<i> &gt; &gt; Pablo
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt;
</I>&gt;<i> &gt; &gt; _______________________________________________
</I>&gt;<i> &gt; &gt; Mono-list maillist - <A HREF="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</A>
</I>&gt;<i> &gt; &gt; <A HREF="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</A>
</I>&gt;<i> &gt; _______________________________________________
</I>&gt;<i> &gt; Mono-list maillist - <A HREF="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</A>
</I>&gt;<i> &gt; <A HREF="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</A>
</I>&gt;<i> &gt;
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Mono-list maillist - <A HREF="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</A>
</I>&gt;<i>
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016162.html">[Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
</A></li>
<LI> Next message: <A HREF="016167.html">[Mono-list] Debugging Tips
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16163">[ date ]</a>
<a href="thread.html#16163">[ thread ]</a>
<a href="subject.html#16163">[ subject ]</a>
<a href="author.html#16163">[ author ]</a>
</LI>
</UL>
</body></html>