[Mono-dev] Mono Soft Debugger
Zoltan Varga
vargaz at gmail.com
Thu Feb 24 21:21:59 EST 2011
Hi,
The design is similar, the actual wire protocol etc. is similar, but not
identical.
Zoltan
On Thu, Feb 24, 2011 at 10:05 PM, Ben <midfield at gmail.com> wrote:
> i had a similar project in mind but haven't had time to start it yet : port
> the jdb debugger to mono. since the soft debugger is based on jpda et al,
> the jdb console java debugger should be pretty easy to port, right? the
> code is freely available. mikael, have you considered doing this?
>
> ben
>
> On Feb 24, 2011, at 9:45 AM, Zoltan Varga wrote:
>
> > Hi,
> >
> > Our documentation is really quite incomplete, sorry about that. The
> debugger is
> > modelled after the Java Debug Architecture:
> > http://java.sun.com/javase/technologies/core/toolsapis/jpda/
> >
> > I.e. the Mono.Debugger.Soft api is based on, an is very similar to the
> JDI API.
> >
> > Zoltan
> >
> > On Thu, Feb 24, 2011 at 6:24 PM, Mikael Lyngvig <mikael at lyngvig.org>
> wrote:
> > Hi,
> >
> > Anybody knows of good documentation for the Mono Soft Debugger? I am
> hacking away on a hobby project that is a console mode debugger, but only
> have the Mono and MonoDevelop sources to guide me. The documentation
> in Monodoc seems to very incomplete, which is understandable given the low
> number of people that are going to use this API.
> >
> > Especially, I'd like information on how to clean up after the debugging
> session is over. I seem to get an unhandled exception (due to some Mono
> Soft Debugger code being blocked in a call to Socket.ReadBytes()) no matter
> what I do and it looks bad on the console. I suspect that this exception
> has gone uncaught in other code, such as MonoDevelop, because it appears to
> occur in a separate thread and GUI apps don't output stuff to the console.
> Or, alternatively, I am simply not cleaning up and shutting down the debug
> session the way I should do. That's definitely also a possibility.
> >
> > How do you terminate (prematurely or ultimately) a debug session up
> against Mono.Debugger.Soft.VirtualMachine? I call vm.Exit(), vm.EndLaunch()
> and vm.CancelConnection(), but I still get an exception.
> >
> > I wouldn't mind a high-level description of how the soft debugger works
> (beyond that on the Mono website) and how one is supposed to code up against
> it. I currently progress very slowly because everything is trial and error.
> >
> >
> > Cheers,
> > Mikael
> >
> >
> >
> >
> > _______________________________________________
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110225/defa1d35/attachment.html
More information about the Mono-devel-list
mailing list