[Mono-dev] Compiling Mono with debug symbols to diagnose an issue with embedded Mono 4.0.2.5

Howard Rubin howard.rubin at hl.konicaminolta.us
Wed Aug 5 14:27:05 UTC 2015


+1
I'll amplify what @Jean-Michel.Perraud said: a "howto guide for mixed mode
(C and C#) debugging on Linux" is absolutely essential for any serious
development effort.

That's because the apparent lack of debugging capability really slows
development for projects using mono.

For an idea of what would really make mono a serious contender, note that
Visual Studio on Windows debugs C++/CLI and C# seamlessly back and forth
across the language boundary.

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of
Jean-Michel.Perraud at csiro.au
Sent: Tuesday, August 04, 2015 7:12 PM
To: jonathan at mugginsoft.com; Mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Compiling Mono with debug symbols to diagnose an
issue with embedded Mono 4.0.2.5

I am trying to debug C code, mostly to step through the mono runtime itself.
The issue seems to arise really quickly and I do not expect c# code (mine or
the framework's) to be at fault here. That said, I would not at all refuse a
howto guide for mixed mode (C and C#) debugging on Linux (not possible so
far as I know). I may try to give a try on Windows with Visual Studio, but
as a fallback option as this issue may not be reproducible on it anyway.
________________________________________
From: mono-devel-list-bounces at lists.ximian.com
[mono-devel-list-bounces at lists.ximian.com] on behalf of Jonathan Mitchell
[jonathan at mugginsoft.com]
Sent: Tuesday, August 04, 2015 7:34 PM
To: Mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Compiling Mono with debug symbols to diagnose an
issue with embedded Mono 4.0.2.5

> On 4 Aug 2015, at 08:26, Jean-Michel.Perraud at csiro.au wrote:
>
> * build/install mono from source (I know that) but with debug symbols
I would second this.

> * If the above is done, can I use MonoDevelop or other graphical front-end
to attach to the process with embedded Mono and step through code with GDB.
I can already attach  MonoDevelop to the R process and catch the crash, but
the call stack is devoid of info and reference to the source code
(presumably lacking the former debug symbols?)

Are you trying to debug the managed code or the embedded C API?

Jonathan













_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list