[Mono-list] Contents of Mono-list digest
mohamed magdi
mohamed_magdi_80 at yahoo.com
Wed Mar 18 12:20:55 UTC 2015
submissions
Thanks & regards mohamed magdiSales DepartmentDirector of SalesRetal solution & Developer Program Mobile: 002- 01005440676 Mobile: 002-01000409898E-Mail: : mohamed_magdi_80 at yahoo.com Web Site: retalsolve.weebly.com
On Wednesday, March 18, 2015 2:00 PM, "mono-list-request at lists.ximian.com" <mono-list-request at lists.ximian.com> wrote:
Send Mono-list mailing list submissions to
mono-list at lists.ximian.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ximian.com/mailman/listinfo/mono-list
or, via email, send a message with subject or body 'help' to
mono-list-request at lists.ximian.com
You can reach the person managing the list at
mono-list-owner at lists.ximian.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mono-list digest..."
Today's Topics:
1. soft debugger and embedded API (Jonathan Mitchell)
----------------------------------------------------------------------
Message: 1
Date: Wed, 18 Mar 2015 10:38:25 +0000
From: Jonathan Mitchell <jonathan at mugginsoft.com>
To: Mono-list at lists.ximian.com
Subject: [Mono-list] soft debugger and embedded API
Message-ID: <55165373-4086-4757-949C-8C4D7ABB4F6E at mugginsoft.com>
Content-Type: text/plain; charset=utf-8
HI
I am trying to connect via the soft debugger to an app that uses the embedded API.
The debuggee is on OS X, the debugger is on a windows machine VM at 192.168.1.72.
The debugee has .mdb files available that reference symbol source locations on the debugger.
I have been guided by the following so far:
http://www.jeffongames.com/2012/03/debugging-embedded-mono/
On the debug I do my setup like so prior to loading any app specific assemblies:
_monoDomain = mono_jit_init_version(domainName, version);
mono_debug_init(MONO_DEBUG_FORMAT_MONO);
mono_debug_domain_create(_monoDomain);
const char* jit_options[] = {
"--soft-breakpoints",
"--debugger-agent=transport=dt_socket,address=192.168.1.72:10000"
};
mono_jit_parse_options(2, (char**)jit_options);
I have configured Xamarin Studio to use the soft debugger and when it is listening I can telnet into 192.168.1.72:10000.
However I don?t get any sort of debug activity when I run the debugee with the debugger listening.
Any pointers would be appreciated.
Two points:
1. The link above states : If the Mono client can't connect to the debugging server when it starts up, it will call exit, which is no good.
I don?t see this behaviour. The app runs whether the debug server is up or not.
2. A source note for mono_debug_init at https://github.com/mono/mono/blob/adb9681393a8dfec2ca9c2e8c5a4ed72d663878d/mono/metadata/mono-debug.c#L121
says
* This method must be called after loading corlib,
* but before opening the application's main assembly because we need to set some
* callbacks here.
Is the prior call to mono_jit_init_version enough to satisfy the above condition?
Thanks
Jonathan
------------------------------
_______________________________________________
Mono-list mailing list
Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
End of Mono-list Digest, Vol 119, Issue 11
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20150318/7b81b027/attachment.html>
More information about the Mono-list
mailing list