[MonoDevelop] debugging an ASP.NET app in monodevelop
Daniel Soto
daniel.soto2k at gmail.com
Mon Apr 13 09:33:05 EDT 2009
Ok, thank you.
Then, there not is other alternative more than wait, until Mono 2.6 hopefully.
Regards.
2009/4/13 Michael Hutchinson <m.j.hutchinson at gmail.com>:
> On Sun, Apr 12, 2009 at 11:36 PM, Daniel Soto <daniel.soto2k at gmail.com> wrote:
>> Hi, everyone.
>>
>> It's possible to debug an asp.net application using monodevelop 2.0? I
>> didn't found a way to debugging with it. I put a breakpoint but the
>> execution does not stop. Inclusively, using multiple projects in a
>> solution, if I put a breakpoint in a line of my class library, the
>> execution neither stops.
>>
>> Only console or windows forms, or GTK# applications can be debug.
>
> The Mono debugger doesn't support debugging ASP.NET yet, therefore
> MonoDevelop can't debug ASP.NET apps. The debugger's ASP.NET support
> is almost done, and hopefully will be in Mono 2.6, so MonoDevelop 2.2
> might have this feature.
>
> One workaround that another user suggested is to debug via an NUnit
> test project. This works particularly well with ASP.NET MVC
> controllers.
>
>> Anyone can help me? According to Mono website, XSP runs in Release mode
>> by default, but it's possible to debug with XSP in Debug mode,
>> generating debug symbols and running in debug mode with
>> MONO_OPTIONS=--debug xsp2.
>>
>> In monodevelop it's possible do this? How?
>
> If your project's set to run in debug mode (which is not the same as
> using a debugger), MD web projects already set MONO_OPTIONS=--debug
> when running XSP, so that you get line numbers in exceptions.
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
>
More information about the Monodevelop-list
mailing list