[MonoDevelop] Monodevelop hanging on breakpoint

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Aug 26 18:31:36 EDT 2010


On Thu, Aug 26, 2010 at 4:42 PM, Mark H <hayesm2 at gmail.com> wrote:
> Michael,
>
> Thanks for responding.
>
> I apologize for not adding my OS and version to the original message.
>
> I am running MD version 2.4 with included mono libraries on Windows 7.
>
> I have found a work around but do not know what is causing the problem.
> Seemingly at random a pinned watch line appears in my application.userprefs
> file:
>
> <MonoDevelop.Ide.DebuggingService.PinnedWatches ctype="PinnedWatchStore">
>     <Watch file="utilLib\Utils.cs" line="81" offsetX="723" offsetY="1600"
> expression="tf" liveUpdate="False" />
> </MonoDevelop.Ide.DebuggingService.PinnedWatches>
>
> I am only intending to and am setting regular breakpoints in the file using
> the MD GUI.  In fact I don't yet know how to explicitly set a break on
> condition or expression in MD even if I wanted to.
>
> When the problem appears I shutdown MD and manually remove the line from the
> configuration file.  Upon restart breakpoints work as expected until the
> line appears again.  I have observed the Watch file= target varying between
> a couple of modules in my application.  Not sure if its relevant but I am
> pretty certain that in all cases they are modules within which there are
> active breakpoints at the time of the occurrence.
>
> The debugging link that you supplied unfortunately does not apply to
> Windows.  But given that the problem is reproducible with the addition of a
> line in the configuration file this may be enough info for you to point out
> my misunderstanding[s] or lead to the source of a real bug.

Firstly, it sounds like you're using the .NET runtime and debugger,
not the Mono runtime. MonoDevelop does not include Mono. If you have
Mono installed on Windows, you can select it as MonoDevelop's default
target runtime using MD Preferences -> .NET Runtimes, or per-project
using the Project->Active Runtime menu or the Configurations combobox
in the toolbar.

Unfortunately MD's .NET debugger is much less actively maintained and
tested than the Mono one. However, if you file a bug report that will
at least make sure we remain aware of the issue.

Not sure now pinned watches could appear automatically. Maybe Lluis
can comment on that.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list