Re: [Mono-dev] Debugger crashes while debugging ASP.NET app

2011-01-14 Thread passiday

Hello Lluis,

> Try running MonoDevelop from a terminal, and see which output you get.
> Also make sure you have the latest MonoDevelop and Mono.

The MonoDevelop and Mono was fetched from depositories, using synaptic, on
13th of January. My colleague installed MonoDevelop on his Kubuntu, and
experiences no problems whatsoever. So, this is something connected with my
system.

Below is the console output. Not too much happens in the console, when the
debugger is crashing. But as there are some errors upon running the
monodevelop, and building and running the app, maybe they are somehow
connected with this crash? Maybe there is some debugger log file, where
there could be more info about what is happening?

* Console output, when stating up the MonoDevelop:

WARNING: Cannot find Mozilla directory containing libgtkembedmoz.so. Some
Addins may not be able to function. Please set MOZILLA_FIVE_HOME to your
Mozilla directory.
WARNING [2011-01-14 15:48:18Z]: Error creating composed icon
gtk-execute___asm0__debug-overlay-22.png__SmallToolbar at size SmallToolbar.
Icon __asm0__debug-overlay-22.png__SmallToolbar is 22x22, expected 18x18.
ERROR [2011-01-14 15:48:18Z]: GdkPixbuf-Critical: gdk_pixbuf_composite:
assertion `dest_x >= 0 && dest_x + dest_width <= dest->width' failed
Stack trace: 
   at Gdk.Pixbuf.Composite(Gdk.Pixbuf dest, Int32 dest_x, Int32 dest_y,
Int32 dest_width, Int32 dest_height, Double offset_x, Double offset_y,
Double scale_x, Double scale_y, InterpType interp_type, Int32 overall_alpha)
   at MonoDevelop.Ide.ImageService.MergeIcons(Gdk.Pixbuf icon1, Gdk.Pixbuf
icon2)
   at MonoDevelop.Ide.ImageService.GetComposedIcon(System.String[] ids,
IconSize size)
   at
MonoDevelop.Ide.ImageService.InternalGetStockId(Mono.Addins.RuntimeAddin
addin, System.String filename, IconSize size)
   at
MonoDevelop.Ide.ImageService.LoadStockIcon(MonoDevelop.Ide.Extensions.StockIconCodon
iconCodon)
   at
MonoDevelop.Ide.ImageService.m__11C(MonoDevelop.Ide.Extensions.StockIconCodon
i)
   at
System.Collections.Generic.List`1[[MonoDevelop.Ide.Extensions.StockIconCodon,
MonoDevelop.Ide, Version=2.4.0.0, Culture=neutral,
PublicKeyToken=null]].ForEach(System.Action`1 action)
   at MonoDevelop.Ide.ImageService.EnsureStockIconIsLoaded(System.String
stockId, IconSize size)
   at MonoDevelop.Ide.ImageService.m__11A(System.String
stockId)
   at MonoDevelop.Core.IconId.get_Name()
   at MonoDevelop.Core.IconId.op_Implicit(IconId icon)
   at
MonoDevelop.Components.Commands.CommandToolButton.Update(MonoDevelop.Components.Commands.CommandInfo
cmdInfo)
   at
MonoDevelop.Components.Commands.CommandToolButton.MonoDevelop.Components.Commands.ICommandUserItem.Update(MonoDevelop.Components.Commands.CommandTargetRoute
targetRoute)
   at
MonoDevelop.Components.Commands.CommandToolButton.OnParentSet(Gtk.Widget
parent)
   at Gtk.Widget.parentset_cb(IntPtr widget, IntPtr previous_parent)
   at Gtk.Container.gtksharp_container_base_add(IntPtr , IntPtr )
   at Gtk.Container.OnAdded(Gtk.Widget widget)
   at MonoDevelop.Components.DockToolbars.DockToolbar.OnAdded(Gtk.Widget w)
   at Gtk.Container.added_cb(IntPtr container, IntPtr widget)
   at Gtk.Container.gtk_container_add(IntPtr , IntPtr )
   at Gtk.Container.Add(Gtk.Widget widget)
   at
MonoDevelop.Components.Commands.CommandManager.CreateToolbar(System.String
id, MonoDevelop.Components.Commands.CommandEntrySet entrySet, System.Object
initialTarget)
   at
MonoDevelop.Components.Commands.CommandManager.CreateToolbar(System.String
id, MonoDevelop.Components.Commands.CommandEntrySet entrySet)
   at
MonoDevelop.Components.Commands.CommandManager.CreateToolbarSet(System.String
addinPath)
   at MonoDevelop.Ide.Gui.DefaultWorkbench.InitializeWorkspace()
   at MonoDevelop.Ide.Gui.Workbench.Initialize(IProgressMonitor monitor)
   at MonoDevelop.Ide.IdeApp.Initialize(IProgressMonitor monitor)
   at MonoDevelop.Ide.IdeStartup.Run(System.String[] args)
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args)
ERROR [2011-01-14 15:48:18Z]: Error updating Welcome Page content.
System.Xml.XmlException: Document element did not appear.
file:///home/pavils/.config/MonoDevelop/news.xml Line 1, position 1.
  at Mono.Xml2.XmlTextReader.Read () [0x0] in :0 
  at System.Xml.XmlTextReader.Read () [0x0] in :0 
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
[0x0] in :0 
  at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x0]
in :0 
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x0]
in :0 
  at MonoDevelop.WelcomePage.WelcomePageView.GetUpdatedXmlDocument ()
[0x0] in :0 

* When building and running ASP.NET web app:

ERROR [2011-01-14 15:48:38Z]: Type '' loaded more than once

ERROR [2011-01-14 15:48:38Z]: Type '' loaded more than once

ERROR [2011-01-14 15:48:38Z]: Type 'System.Threading.ReaderWriterLockSlim'
loaded more than once

ERROR [2011-01-14 15:48:38Z]: Type 'TypeInfo__TypeMetadata' loaded more than
once

ERROR [2011-0

Re: [Mono-dev] Debugger crashes while debugging ASP.NET app

2011-01-14 Thread Lluis Sanchez Gual
El dj 13 de 01 de 2011 a les 13:21 -0800, en/na passiday va escriure:
> Hello,
> 
> I'm experiencing this weird debugger crashing. Spent now about 4 hours
> trying to work it out, and no luck. I'm really betting on this mailing
> list...
> 
> So, this problem is there since I have installed MonoDevelop on my Ubuntu
> 10.10 64bit. I am trying to debug ASP.NET application - setting breakpoints,
> checking watches, stepping through the code line by line.
> 
> So, I can successfully build my app, and run it in debug mode, it hits the
> first breakpoint, I can check the watches. Bud when I hit the "Step over",
> the app immediately crashes. No info is dumped in Application Output pad.
> Funny thing is that very rarely it doesn't crash and lets me step over
> several lines, until the next breakpoint is hit and then crashes again, when
> trying to step further.
> 
> Very annoying. Basically I am limited to one breakpoint for debugging, or to
> use awkward tools like  dumping the debug variables to file or database.
> 
> Does somebody have any clue, what's going on here? I know I am giving very
> little information on this crash. Maybe you can suggest how I can extract
> more information to supply to the case.

Try running MonoDevelop from a terminal, and see which output you get.
Also make sure you have the latest MonoDevelop and Mono.

Lluis.


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Debugger crashes while debugging ASP.NET app

2011-01-13 Thread passiday

Hello,

I'm experiencing this weird debugger crashing. Spent now about 4 hours
trying to work it out, and no luck. I'm really betting on this mailing
list...

So, this problem is there since I have installed MonoDevelop on my Ubuntu
10.10 64bit. I am trying to debug ASP.NET application - setting breakpoints,
checking watches, stepping through the code line by line.

So, I can successfully build my app, and run it in debug mode, it hits the
first breakpoint, I can check the watches. Bud when I hit the "Step over",
the app immediately crashes. No info is dumped in Application Output pad.
Funny thing is that very rarely it doesn't crash and lets me step over
several lines, until the next breakpoint is hit and then crashes again, when
trying to step further.

Very annoying. Basically I am limited to one breakpoint for debugging, or to
use awkward tools like  dumping the debug variables to file or database.

Does somebody have any clue, what's going on here? I know I am giving very
little information on this crash. Maybe you can suggest how I can extract
more information to supply to the case.
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Debugger-crashes-while-debugging-ASP-NET-app-tp3216688p3216688.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list