[Mono-dev] Soft-debugger add-in problems

2011-03-22 Thread revanthedarth
Hello Michael Hutchinson. I've been trying to implement a soft debugger for embedded mono. I googled it several times and only found your answers (on different websites). Your posts always said the same thing: Develop a debugger add-in to MonoDevelop. I've been trying to implement that but

Re: [Mono-dev] Soft Debugger issues (can't suspend threads in wait_for_suspend)

2011-01-26 Thread Levi Bard
Turns out it might be due to Win32 limitations (QueueUserAPC works only if SleepEx/WaitForMultipleObjectsEx etc... are used), as notify_thread_apc is never called back. I can fix that on my own threads. However, finalizer thread should use such functions as well otherwise it will always hang

[Mono-dev] Soft Debugger issues (can't suspend threads in wait_for_suspend)

2011-01-25 Thread Virgile Bello
I am having trouble with mono soft debugger. - I embed Mono runtime in my program, and I got MonoDevelop to act as SoftDebugger client - Mono soft debugger is loading properly (first breakpoint usually works -- if already set beforehand -- I can see callstacks, etc...) - As soon as I press F5 --

Re: [Mono-dev] Soft Debugger issues (can't suspend threads in wait_for_suspend)

2011-01-25 Thread Virgile Bello
Just as a small addition, to confirm what I said earlier concerning situation with additional threads. After adding 2 threads that don't actually call mono (simply register them with mono_thread_attach(mono_get_root_domain())), I end up having: Waiting for 2(4) threads to suspend... which mean 1

Re: [Mono-dev] Soft Debugger issues (can't suspend threads in wait_for_suspend)

2011-01-25 Thread Virgile Bello
Sorry, last small update, if I simply disable the waiting loop in wait_for_suspend() and make is_suspended() always return TRUE, breakpoints/tracing work as expected (except maybe playing with other threads of course). This seems to confirm there might be some false positive when trying to detect

Re: [Mono-dev] Soft Debugger issues (can't suspend threads in wait_for_suspend)

2011-01-25 Thread Virgile Bello
Turns out it might be due to Win32 limitations (QueueUserAPC works only if SleepEx/WaitForMultipleObjectsEx etc... are used), as notify_thread_apc is never called back. I can fix that on my own threads. However, finalizer thread should use such functions as well otherwise it will always hang

[Mono-dev] soft debugger

2010-02-21 Thread pablosantosl...@terra.es
Hi there, On which platforms is the soft debugger supported? Thanks, pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] soft debugger

2010-02-21 Thread Zoltan Varga
On amd64/x86/arm. Zoltan On Sun, Feb 21, 2010 at 11:10 PM, pablosantosl...@terra.es pablosantosl...@terra.es wrote: Hi there, On which platforms is the soft debugger supported? Thanks, pablo ___ Mono-devel-list mailing list

Re: [Mono-dev] soft debugger

2010-02-21 Thread pablosantosl...@terra.es
on every OS or just Linux?? I know it's on Mac too, we're using it! :-) On 21/02/2010 23:15, Zoltan Varga wrote: On amd64/x86/arm. Zoltan On Sun, Feb 21, 2010 at 11:10 PM, pablosantosl...@terra.es mailto:pablosantosl...@terra.es pablosantosl...@terra.es

Re: [Mono-dev] soft debugger

2010-02-21 Thread Zoltan Varga
Hi, It is known to work on linux, windows, mac and the iphone. Zoltan On Sun, Feb 21, 2010 at 11:52 PM, pablosantosl...@terra.es pablosantosl...@terra.es wrote: on every OS or just Linux?? I know it's on Mac too, we're using it! :-) On 21/02/2010 23:15, Zoltan Varga

Re: [Mono-dev] Soft Debugger Patch for Windows

2009-11-10 Thread Zoltan Varga
Hi, Looks ok. Zoltan On Tue, Nov 10, 2009 at 3:49 PM, Jonathan Chambers jonc...@gmail.comwrote: Hello, Attached is a patch for supporting the soft debugger on Windows. The biggest changes IMO are not to the debugger, but to the mono-* synchronization utilities. The

[Mono-dev] Soft debugger HOWTO

2009-11-09 Thread pablosantosl...@terra.es
Hi, After the announcement last week of the new soft debugger, I have several questions: - I understand MD is the primary interface *right now* for the soft debugger, is it possible to debug a Linux app too? - Is there any other available interface to use the soft debugger besides MD? - As

Re: [Mono-dev] Soft debugger HOWTO

2009-11-09 Thread Geoff Norton
On 9-Nov-09, at 6:11 PM, pablosantosl...@terra.es wrote: Hi, After the announcement last week of the new soft debugger, I have several questions: - I understand MD is the primary interface *right now* for the soft debugger, is it possible to debug a Linux app too? You mean a native app?

Re: [Mono-dev] Soft debugger HOWTO

2009-11-09 Thread pablosantosl...@terra.es
Hi Geoff, - I understand MD is the primary interface *right now* for the soft debugger, is it possible to debug a Linux app too? You mean a native app? No. You mean a mono app on linux? Yes, on x86 and amd64 and arm currently. I'm only concerned 99.99% of the time about managed code. So

Re: [Mono-dev] Soft debugger HOWTO

2009-11-09 Thread Geoff Norton
On 9-Nov-09, at 6:33 PM, pablosantosl...@terra.es wrote: - Is there any other available interface to use the soft debugger besides MD? You can create any interface you like on top of the Mono.Debugger.Soft.dll, MonoDevelop is the interface we support. Will it make sense to have some sort