[Mono-dev] Diagnosing "Invalid IL code"

Alexander Köplinger alexander.koeplinger at xamarin.com
Fri May 13 18:00:49 UTC 2016


> I don't get a viable stack trace out [filenames and line numbers are
missing]. It's making it pretty hard to debug some issues; is there a
simple fix for that?

Yes, you can use the pdb2mdb tool to convert Windows debug symbols to the
mdb symbols Mono can read.

- Alex

2016-05-13 19:46 GMT+02:00 Gary Briggs <chunky at icculus.org>:

> On Thu, May 12, 2016 at 09:06:18PM +0200, Alexander Köplinger wrote:
> > As far as I know there isn't a fully integrated way to use this from
> > monodevelop yet even though the upcoming 6.0 release uses roslyn
> internally
> > for intellisense etc though, but at build time it just calls xbuild which
> > uses the Mono compilers.
>
> I'm not actually wedded to monodevelop at all. Mostly I just want to
> be able to build from a .vbproj
>
> > We do have a preview release on OSX that includes the open sourced
> msbuild
> > with roslyn included, I'm not sure what the Linux plans for that are
> right
> > now (
> >
> https://github.com/Microsoft/msbuild/releases/tag/mono-hosted-msbuild-v0.2
> > should work with current Mono but I know it breaks with the upcoming
> > release).
> >
> > So lots of stuff in the making, but not an easy to use solution right
> now :)
>
> Fair enough. I do have a working toolchain for now [going via a Windows
> system], but my problem is that when binaries from there crashe in mono,
> I don't get a viable stack trace out [filenames and line numbers are
> missing]. It's making it pretty hard to debug some issues; is there a
> simple fix for that?
>
> Gary
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20160513/1ee848ea/attachment.html>


More information about the Mono-devel-list mailing list