Re: [Mono-dev] Debugger crashes while debugging ASP.NET app
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
Re: [Mono-dev] Debugger crashes while debugging ASP.NET app
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.EnsureStockIconIsLoadedm__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.ImageServicem__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 filename unknown:0 at System.Xml.XmlTextReader.Read () [0x0] in filename unknown:0 at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x0] in filename unknown:0 at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x0] in filename unknown:0 at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x0] in filename unknown:0 at MonoDevelop.WelcomePage.WelcomePageView.GetUpdatedXmlDocument () [0x0] in filename unknown:0 * When building and running ASP.NET web app: ERROR [2011-01-14 15:48:38Z]: Type 'Module' loaded more than once ERROR [2011-01-14 15:48:38Z]: Type 'Module' loaded more than once ERROR [2011-01-14 15:48:38Z]: Type
[Mono-dev] Debugger crashes while debugging ASP.NET app
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
[Mono-dev] Debugger not working on trunk?
Hi The debugger from trunk is not working for me at all. I'm trying the mdb command line debugger. It just hangs when doing 'run' on the most simple hello world app. Is anybody else experiencing this problem or am I the only one? Lluis. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger not working on trunk?
I'm having the same problem. Hi The debugger from trunk is not working for me at all. I'm trying the mdb command line debugger. It just hangs when doing 'run' on the most simple hello world app. Is anybody else experiencing this problem or am I the only one? Lluis. -- Bryan ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger Unit tests
Hey Jonas, You can see how our build bot runs the tests by looking at the output. http://mono.ximian.com/monobuild/builds/HEAD/sles-10-i586/mono-debugger/136758/logs/test.log That includes the commands as well as the output. From that output, it looks like the command is: ./runtests -noshadow -labels -exclude:NotWorking,Attach,Native,Threads,AppDomain,GUI || ok=false; \ $ok Hope this helps, Thomas jonas echterhoff wrote: How do I run the unit test suite for the debugger? Thanks, jonas ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger Unit tests
How do I run the unit test suite for the debugger? Thanks, jonas ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger plans
Hi, I'd like to ask you guys the plans for the Mono Debugger in the short/mid term. Are you planning to support debugger on MacOS? How hard would be to port it to other x86 OSs like Solaris? 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] Debugger for ASP.NET, when ?
Hello, Hello, I know there is a gui debugger for normal applications in monodevelop. But for XSP2 it doesn't work. Any predictions that when a debugger will be implemented for ASP.NET ? It is high in our to-do list, but we do not have a time frame yet. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger for ASP.NET, when ?
Hello, I know there is a gui debugger for normal applications in monodevelop. But for XSP2 it doesn't work. Any predictions that when a debugger will be implemented for ASP.NET ? thanks Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger: Small patch
Hi, thanks a lot for your patch. Just committed it to SVN :-) Martin On Fri, 2007-11-30 at 13:09 +0100, Harald Krapfenbauer wrote: Hi Martin, attached you can find a small patch for the Mono Debugger (against SVN revision 90461). It fixes some minor issues: *) backend/server/i386-arch.c backend/server/x86_64-arch.c x86_arch_get_registers(): Store the return values everytime to result to check for errors. *) backend/server/x86-linux-ptrace.c server_ptrace_get_application(): increase size of buffer by 1 *) classes/DebuggerOptions.cs Update usage output, update Copyright information *) frontend/Command.cs Update copyright information, fix typos in command descriptions Please check the patch and apply it to the Mono repository if you're comfortable with it. Best regards, Harald Krapfenbauer -- Martin Baulig - [EMAIL PROTECTED] Novell GmbH, Düsseldorf GF: Volker Smid, Djamel Souici; HRB 21108 (AG Düsseldorf) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] debugger exception
Hello, this looks like a bug I fixed on Saturday. Could you please check whether your debugger is at least svn revision r90973 ? Martin On Sun, 2007-12-09 at 05:56 +, Alvaro Ramirez wrote: Hiya, Checked out and built the latest debugger from svn. I'm getting an unhandled exception (InternalError) when trying to debug basic console apps (Attached is a stack trace). The exception is thrown when GetEngineByTID returns null while handling GcThreadCreated events (MonoThreadManager.cs). Looking a bit into GetEngineByTID (ProcessServant.cs), here's a snapshot of variables when attempting to get the engine by tid: tid:3083462896 thread_hastable count:1 engine in thread_hastable with TID:0 The pid of the only engine in the hashtable seems to be correct (same shown by ps). The tid(3083462896) used to request the engine is perhaps bogus? Can someone shed some light? Need more info? Thanks, Alvaro ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Martin Baulig - [EMAIL PROTECTED] Novell GmbH, Düsseldorf GF: Volker Smid, Djamel Souici; HRB 21108 (AG Düsseldorf) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger exceptions
Hi, On Thu, 2007-11-08 at 16:13 +0100, David Suarez wrote: I've been having a look at the mono debugger from trunk, and seems to be a lot more stable now, good work! thanks :-) I'm not finding, however any option to display the exception that has stopped target execution (when no catch (Exception ex) is available). Is there any? Oh, that's one more of these undocumented cool features of the debugger ;-) Seriously, I should spend more time writing documentation - that's also the impression I got during my presentation in Madrid. The feature is already there: You may use `print catch' to print the last exception. -- Martin Baulig - [EMAIL PROTECTED] Novell GmbH, Düsseldorf GF: Volker Smid, Djamel Souici; HRB 21108 (AG Düsseldorf) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger exceptions
Ok, I documented `print catch' on the website. On Thu, 2007-11-08 at 16:13 +0100, David Suarez wrote: Hi, I've been having a look at the mono debugger from trunk, and seems to be a lot more stable now, good work! I'm not finding, however any option to display the exception that has stopped target execution (when no catch (Exception ex) is available). Is there any? Another question is, can anyone tell me about the status of the monodevelop addin for the debugger? We may be able to contribute on that part Cheers, David www.codicesoftware.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Martin Baulig - [EMAIL PROTECTED] Novell GmbH, Düsseldorf GF: Volker Smid, Djamel Souici; HRB 21108 (AG Düsseldorf) ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] debugger exception
Hiya, Checked out and built the latest debugger from svn. I'm getting an unhandled exception (InternalError) when trying to debug basic console apps (Attached is a stack trace). The exception is thrown when GetEngineByTID returns null while handling GcThreadCreated events (MonoThreadManager.cs). Looking a bit into GetEngineByTID (ProcessServant.cs), here's a snapshot of variables when attempting to get the engine by tid: tid:3083462896 thread_hastable count:1 engine in thread_hastable with TID:0 The pid of the only engine in the hashtable seems to be correct (same shown by ps). The tid(3083462896) used to request the engine is perhaps bogus? Can someone shed some light? Need more info? Thanks, Alvaro EXCEPTION: Mono.Debugger.InternalError: Internal error. at Mono.Debugger.Backend.MonoThreadManager.HandleChildEvent (Mono.Debugger.Backend.SingleSteppingEngine engine, Mono.Debugger.Backend.Inferior inferior, Mono.Debugger.Backend.ChildEvent cevent, System.Boolean resume_target) [0x0042e] in dloads/mono/debugger/backend/MonoThreadManager.cs:324 at Mono.Debugger.Backend.ThreadManager.HandleChildEvent (Mono.Debugger.Backend.SingleSteppingEngine engine, Mono.Debugger.Backend.Inferior inferior, Mono.Debugger.Backend.ChildEvent cevent, System.Boolean resume_target) [0x000db] in dloads/mono/debugger/backend/ThreadManager.cs:196 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.ThreadManager:HandleChildEvent (Mono.Debugger.Backend.SingleSteppingEngine,Mono.Debugger.Backend.Inferior,Mono.Debugger.Backend.Inferior/ChildEvent,bool) at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent (Mono.Debugger.Backend.ChildEvent cevent) [0x001e0] in dloads/mono/debugger/backend/SingleSteppingEngine.cs:207 at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent (Int32 status) [0xc] in dloads/mono/debugger/backend/SingleSteppingEngine.cs:153 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.SingleSteppingEngine:ProcessEvent (int) at Mono.Debugger.Backend.ThreadManager.engine_thread_main () [0x000cd] in dloads/mono/debugger/backend/ThreadManager.cs:318 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger: Small patch
Hi Martin, attached you can find a small patch for the Mono Debugger (against SVN revision 90461). It fixes some minor issues: *) backend/server/i386-arch.c backend/server/x86_64-arch.c x86_arch_get_registers(): Store the return values everytime to result to check for errors. *) backend/server/x86-linux-ptrace.c server_ptrace_get_application(): increase size of buffer by 1 *) classes/DebuggerOptions.cs Update usage output, update Copyright information *) frontend/Command.cs Update copyright information, fix typos in command descriptions Please check the patch and apply it to the Mono repository if you're comfortable with it. Best regards, Harald Krapfenbauer diff_rev90461.patch Description: diff_rev90461.patch ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger exceptions
Hi, I've been having a look at the mono debugger from trunk, and seems to be a lot more stable now, good work! I'm not finding, however any option to display the exception that has stopped target execution (when no catch (Exception ex) is available). Is there any? Another question is, can anyone tell me about the status of the monodevelop addin for the debugger? We may be able to contribute on that part Cheers, David www.codicesoftware.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger on Windows
Integrating the Mono debugger with Visual Studio sounds like a very good thing to do. This way, you could possibly also debug Mono if your application crashes. It also makes sure you only need to install Mono in order to test it. Of course, that requires the Mono debugger to be working on Windows first. If someone is to take a first step at this, I'll be happy to test it. Frederik. Daniel Morgan wrote: I have to agree with Jonathan. Mono on Windows is a good way to see if a MS .NET app will work on Mono. This is especially true for windows developers who are not familiar with Linux but who would like to see their application or web site running on Linux. If they see it running on Mono on Windows, they may feel more confident to installing linux or a downloading the suse vm and try their app there. --- Jonathan Chambers [EMAIL PROTECTED] wrote: I'm sending a catch all email to try and get some information on being able to use the mono debugger on windows. I'll give some motivation first (based on where I work). Generally, people using .Net will work on Windows. They'll then try their program on mono on Windows to verify that their program runs. If they have a problem, there is currently two approaches it seems: 1) Add Console.WriteLine's to their program and hopefully track down the problem 2) Try bringing their app to Linux and debugging there 1 is painful especially when coming from a Visual Studio background. 2 requires the user to have a Linux box or VMWare image handy. They must also be adept enough to get the environment setup to debug. I think they'll have to either convert their pdb files to mdb format, or build app on mono. Both of these is a non-trivial amount of effort for a new mono user (and maybe even for me ;-)). So, I'm investigating adding a third option, 3) Debugging mono on Windows. I'll just ask a couple of questions. 1) What work is needed to get the debugger working on managed code compiled by mono on windows? 2) Is 1) possible without adding support for native debugging (I assume adding support for native/mixed mode debugging will take more effort) 3) What about formats? If I am on windows, I have probably compiled by managed code and my native code in VS (not mono and gcc). The managed code debugging info can be converted between formats AFAIK, but the unmanaged would be more difficult assuming that would even be attempted. MS provides debugging APIs, but I have no clue whether they could be wrapped and adapted to mono debugger. 4) Exposure I assume would be command line - some sort of IDE (Sharpdevelop, MonoDevelop, or just a quick and dirty Winforms UI for debugging not a full featured IDE) - the ultimate would be integration into VS with a Debug with mono option. I'm sure I'll get enough info from those questions to start with. The only other question I'll ask is, Is this worth the effort? Since I don't know the effort required, I currently think it's worth it ;-). If it's not I'll forget the idea and hack on something else. Thanks, Jonathan ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger on Windows
Yes i agree, mono debugger IS NOT READY on linux... Example i want to debug a simple app (without thread) (it just use log4net) [EMAIL PROTECTED] ~/Projects/SynchroPassPremium/SendToFT/bin/Debug $ mdb ./SendToFT.exe Mono Debugger (mdb) r Starting program: ./SendToFT.exe Cannot load symbol file `/home/hubert/Projects/SynchroPassPremium/SendToFT/bin/Debug/log4net.dll.mdb': Could not find file /home/hubert/Projects/SynchroPassPremium/SendToFT/bin/Debug/log4net.dll.mdb. EXCEPTION: System.ArgumentException: Cannot compare addresses from different domains AddressDomain (0:) and AddressDomain (0:global) at Mono.Debugger.TargetAddress.check_domains (TargetAddress a, TargetAddress b) [0x0001e] in /home/hubert/mono/debugger/interface/TargetAddress.cs:95 at Mono.Debugger.TargetAddress.op_Equality (TargetAddress a, TargetAddress b) [0x0] in /home/hubert/mono/debugger/interface/TargetAddress.cs:146 at Mono.Debugger.Backends.SingleSteppingEngine.throw_exception (TargetAddress stack, TargetAddress exc, TargetAddress ip) [0x00031] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:920 at Mono.Debugger.Backends.SingleSteppingEngine.ProcessChildEvent (Mono.Debugger.Backends.ChildEvent cevent) [0x000c1] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:252 at Mono.Debugger.Backends.SingleSteppingEngine.ProcessEvent (Int32 status) [0x00295] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:214 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backends.SingleSteppingEngine:ProcessEvent (int) at Mono.Debugger.Backends.ThreadManager.engine_thread_main () [0x000ce] in /home/hubert/mono/debugger/backend/ThreadManager.cs:310 Prout! Le jeudi 10 mai 2007 à 17:38 +0200, pablosantosluac a écrit : Ok, then I misunderstood a message I receive this morning telling something about the debugger being unable to handle a simple app... - Original Message - From: Andrés G. Aragoneses [ knocte ] [EMAIL PROTECTED] To: mono-devel-list@lists.ximian.com Sent: Thursday, May 10, 2007 5:28 PM Subject: Re: [Mono-dev] Debugger on Windows pablosantosluac escribió: Hi folks, Well, IMHO what we all DO need is a decent debugger on Linux. If I just had a debugger I would start developing with MonoDevelop today on Linux, and I guess most people would do the same Then we would be all day testing MonoDevelop, the compiler, the debugger and so on and so on... And this IS GOOD for Mono, much better than having some sort of replacement on Windows. By the way porting an app to Linux will take some effort, ok, but what Mono gives is a real opportunity to do it and still develop with C#, the framework and so on... which is great! C# and the entire framework is IMHO the best development platform ever... let's have it on Linux with the only big piece is missing... a debugger!! I agree having it on Windows would help, but please... first on Linux! AFAIK the Debugger is ready on Linux. What is lacking is updating the Debugger Addin for MonoDevelop, which is the target of a SoC2007 project IIRC. Then, I agree that having the debugger on Windows would be important, thus not having to drop the Debugger Addin for an hypothetic MD installer for Windows. Regards, Andrés [ knocte ] ___ Ce message et les �ventuels documents joints peuvent contenir des informations confidentielles. Au cas o� il ne vous serait pas destin�, nous vous remercions de bien vouloir le supprimer et en aviser imm�diatement l'exp�diteur. Toute utilisation de ce message non conforme � sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite. Les communications sur internet n'�tant pas s�curis�es, l'int�grit� de ce message n'est pas assur�e et la soci�t� �mettrice ne peut �tre tenue pour responsable de son contenu. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger
Usable? I'm using the debugger from svn and when i try to debug a simple app (without thread... or something like that) i get : mdb ./bin/Debug/SendToFT.exe -r Mono Debugger (mdb) r Starting program: ./bin/Debug/SendToFT.exe Cannot load symbol file `/home/hubert/Projects/SynchroPassPremium/SendToFT/bin/Debug/log4net.dll.mdb': Could not find file /home/hubert/Projects/SynchroPassPremium/SendToFT/bin/Debug/log4net.dll.mdb. EXCEPTION: System.ArgumentException: Cannot compare addresses from different domains AddressDomain (0:) and AddressDomain (0:global) at Mono.Debugger.TargetAddress.check_domains (TargetAddress a, TargetAddress b) [0x0001e] in /home/hubert/mono/debugger/interface/TargetAddress.cs:95 at Mono.Debugger.TargetAddress.op_Equality (TargetAddress a, TargetAddress b) [0x0] in /home/hubert/mono/debugger/interface/TargetAddress.cs:146 at Mono.Debugger.Backends.SingleSteppingEngine.throw_exception (TargetAddress stack, TargetAddress exc, TargetAddress ip) [0x00031] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:920 at Mono.Debugger.Backends.SingleSteppingEngine.ProcessChildEvent (Mono.Debugger.Backends.ChildEvent cevent) [0x000c1] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:252 at Mono.Debugger.Backends.SingleSteppingEngine.ProcessEvent (Int32 status) [0x00295] in /home/hubert/mono/debugger/backend/SingleSteppingEngine.cs:214 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backends.SingleSteppingEngine:ProcessEvent (int) at Mono.Debugger.Backends.ThreadManager.engine_thread_main () [0x000ce] in /home/hubert/mono/debugger/backend/ThreadManager.cs:310 The only lib i use is log4net... Le mardi 08 mai 2007 à 01:54 -0400, Miguel de Icaza a écrit : Hey, I installed Mono with the Linux installer for x86 (ftp://www.go-mono.com/archive/1.2.3.1/linux-installer/2/mono-1.2.3.1_2- installer.bin), and mdb seems to be included there. What's this then? Ah, nice. I just do not think we have made any official releases recently. Harald -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel de Icaza Sent: Sonntag, 06. Mai 2007 16:45 To: pablosantosluac Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Debugger Hello, Is it installed with the latest prerelease? I will try it asap. It is only available from the debugger module on SVN. Miguel - Original Message - From: Miguel de Icaza [EMAIL PROTECTED] To: pablosantosluac [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Sent: Sunday, May 06, 2007 6:33 AM Subject: Re: [Mono-dev] Debugger Hello, What is the debugger current status? It is working, and we hope that people test it with real code, send us feedback and help us improve it. We have reached the point where we think it is usable, but the only way of knowing if it is, is if people give us feedback. Miguel. Pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Ce message et les �ventuels documents joints peuvent contenir des informations confidentielles. Au cas o� il ne vous serait pas destin�, nous vous remercions de bien vouloir le supprimer et en aviser imm�diatement l'exp�diteur. Toute utilisation de ce message non conforme � sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite. Les communications sur internet n'�tant pas s�curis�es, l'int�grit� de ce message n'est pas assur�e et la soci�t� �mettrice ne peut �tre tenue pour responsable de son contenu. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger on Windows
I have to agree with Jonathan. Mono on Windows is a good way to see if a MS .NET app will work on Mono. This is especially true for windows developers who are not familiar with Linux but who would like to see their application or web site running on Linux. If they see it running on Mono on Windows, they may feel more confident to installing linux or a downloading the suse vm and try their app there. --- Jonathan Chambers [EMAIL PROTECTED] wrote: I'm sending a catch all email to try and get some information on being able to use the mono debugger on windows. I'll give some motivation first (based on where I work). Generally, people using .Net will work on Windows. They'll then try their program on mono on Windows to verify that their program runs. If they have a problem, there is currently two approaches it seems: 1) Add Console.WriteLine's to their program and hopefully track down the problem 2) Try bringing their app to Linux and debugging there 1 is painful especially when coming from a Visual Studio background. 2 requires the user to have a Linux box or VMWare image handy. They must also be adept enough to get the environment setup to debug. I think they'll have to either convert their pdb files to mdb format, or build app on mono. Both of these is a non-trivial amount of effort for a new mono user (and maybe even for me ;-)). So, I'm investigating adding a third option, 3) Debugging mono on Windows. I'll just ask a couple of questions. 1) What work is needed to get the debugger working on managed code compiled by mono on windows? 2) Is 1) possible without adding support for native debugging (I assume adding support for native/mixed mode debugging will take more effort) 3) What about formats? If I am on windows, I have probably compiled by managed code and my native code in VS (not mono and gcc). The managed code debugging info can be converted between formats AFAIK, but the unmanaged would be more difficult assuming that would even be attempted. MS provides debugging APIs, but I have no clue whether they could be wrapped and adapted to mono debugger. 4) Exposure I assume would be command line - some sort of IDE (Sharpdevelop, MonoDevelop, or just a quick and dirty Winforms UI for debugging not a full featured IDE) - the ultimate would be integration into VS with a Debug with mono option. I'm sure I'll get enough info from those questions to start with. The only other question I'll ask is, Is this worth the effort? Since I don't know the effort required, I currently think it's worth it ;-). If it's not I'll forget the idea and hack on something else. Thanks, Jonathan ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger on Windows
Hi folks, Well, IMHO what we all DO need is a decent debugger on Linux. If I just had a debugger I would start developing with MonoDevelop today on Linux, and I guess most people would do the same Then we would be all day testing MonoDevelop, the compiler, the debugger and so on and so on... And this IS GOOD for Mono, much better than having some sort of replacement on Windows. By the way porting an app to Linux will take some effort, ok, but what Mono gives is a real opportunity to do it and still develop with C#, the framework and so on... which is great! C# and the entire framework is IMHO the best development platform ever... let's have it on Linux with the only big piece is missing... a debugger!! I agree having it on Windows would help, but please... first on Linux! --pablo - Original Message - From: Daniel Morgan [EMAIL PROTECTED] To: Jonathan Chambers [EMAIL PROTECTED]; mono-devel mono-devel-list@lists.ximian.com Sent: Thursday, May 10, 2007 3:15 PM Subject: Re: [Mono-dev] Debugger on Windows I have to agree with Jonathan. Mono on Windows is a good way to see if a MS .NET app will work on Mono. This is especially true for windows developers who are not familiar with Linux but who would like to see their application or web site running on Linux. If they see it running on Mono on Windows, they may feel more confident to installing linux or a downloading the suse vm and try their app there. --- Jonathan Chambers [EMAIL PROTECTED] wrote: I'm sending a catch all email to try and get some information on being able to use the mono debugger on windows. I'll give some motivation first (based on where I work). Generally, people using .Net will work on Windows. They'll then try their program on mono on Windows to verify that their program runs. If they have a problem, there is currently two approaches it seems: 1) Add Console.WriteLine's to their program and hopefully track down the problem 2) Try bringing their app to Linux and debugging there 1 is painful especially when coming from a Visual Studio background. 2 requires the user to have a Linux box or VMWare image handy. They must also be adept enough to get the environment setup to debug. I think they'll have to either convert their pdb files to mdb format, or build app on mono. Both of these is a non-trivial amount of effort for a new mono user (and maybe even for me ;-)). So, I'm investigating adding a third option, 3) Debugging mono on Windows. I'll just ask a couple of questions. 1) What work is needed to get the debugger working on managed code compiled by mono on windows? 2) Is 1) possible without adding support for native debugging (I assume adding support for native/mixed mode debugging will take more effort) 3) What about formats? If I am on windows, I have probably compiled by managed code and my native code in VS (not mono and gcc). The managed code debugging info can be converted between formats AFAIK, but the unmanaged would be more difficult assuming that would even be attempted. MS provides debugging APIs, but I have no clue whether they could be wrapped and adapted to mono debugger. 4) Exposure I assume would be command line - some sort of IDE (Sharpdevelop, MonoDevelop, or just a quick and dirty Winforms UI for debugging not a full featured IDE) - the ultimate would be integration into VS with a Debug with mono option. I'm sure I'll get enough info from those questions to start with. The only other question I'll ask is, Is this worth the effort? Since I don't know the effort required, I currently think it's worth it ;-). If it's not I'll forget the idea and hack on something else. Thanks, Jonathan ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger
Hey, I installed Mono with the Linux installer for x86 (ftp://www.go-mono.com/archive/1.2.3.1/linux-installer/2/mono-1.2.3.1_2- installer.bin), and mdb seems to be included there. What's this then? Ah, nice. I just do not think we have made any official releases recently. Harald -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel de Icaza Sent: Sonntag, 06. Mai 2007 16:45 To: pablosantosluac Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Debugger Hello, Is it installed with the latest prerelease? I will try it asap. It is only available from the debugger module on SVN. Miguel - Original Message - From: Miguel de Icaza [EMAIL PROTECTED] To: pablosantosluac [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Sent: Sunday, May 06, 2007 6:33 AM Subject: Re: [Mono-dev] Debugger Hello, What is the debugger current status? It is working, and we hope that people test it with real code, send us feedback and help us improve it. We have reached the point where we think it is usable, but the only way of knowing if it is, is if people give us feedback. Miguel. Pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger
Thanks Miguel, Is it installed with the latest prerelease? I will try it asap. - Original Message - From: Miguel de Icaza [EMAIL PROTECTED] To: pablosantosluac [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Sent: Sunday, May 06, 2007 6:33 AM Subject: Re: [Mono-dev] Debugger Hello, What is the debugger current status? It is working, and we hope that people test it with real code, send us feedback and help us improve it. We have reached the point where we think it is usable, but the only way of knowing if it is, is if people give us feedback. Miguel. Pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger
Hello, Is it installed with the latest prerelease? I will try it asap. It is only available from the debugger module on SVN. Miguel - Original Message - From: Miguel de Icaza [EMAIL PROTECTED] To: pablosantosluac [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Sent: Sunday, May 06, 2007 6:33 AM Subject: Re: [Mono-dev] Debugger Hello, What is the debugger current status? It is working, and we hope that people test it with real code, send us feedback and help us improve it. We have reached the point where we think it is usable, but the only way of knowing if it is, is if people give us feedback. Miguel. Pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger
On Sun, 2007-05-06 at 10:45 -0400, Miguel de Icaza wrote: Hello, Is it installed with the latest prerelease? I will try it asap. It is only available from the debugger module on SVN. Little note for Debian/Ubuntu users: I uploaded today the mono-debugger package to Debian/Unstable (but it's in the NEW queue), but it's also available from my APT repository: deb http://debian.meebey.net/pkg-mono/mono-debugger ./ The package might also work for Ubuntu. (if APT is not crying about not installable dependencies) -- Regards, Mirco 'meebey' Bauer PGP-Key: http://keyserver.noreply.org/pks/lookup?op=getsearch=0xEEF946C8 -BEGIN GEEK CODE BLOCK- Version: 3.12 GIT d s-:+ a-- C++ UL$ P L++$+++$ E- W+++$ N o? K- w++! O M- V? PS PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G++ e h! r-++ y? --END GEEK CODE BLOCK-- signature.asc Description: This is a digitally signed message part ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger
Hi, What is the debugger current status? Pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger
Hello, What is the debugger current status? It is working, and we hope that people test it with real code, send us feedback and help us improve it. We have reached the point where we think it is usable, but the only way of knowing if it is, is if people give us feedback. Miguel. Pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger news?
Is it already usable? Where can I download it to try it? - Original Message - From: Massimiliano Mantione [EMAIL PROTECTED] To: pablosantosluac [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Sent: Tuesday, January 23, 2007 8:16 AM Subject: Re: [Mono-dev] Debugger news? On Sun, 2007-01-21 at 23:35 +0100, pablosantosluac wrote: Any news related to the debugger? We are working on it. Mostly, changing the approach when we deal with multiple threads to stop-resume all of them instead of let the user stop them one by one and let the others run, completing the command set (examine, displays...), and working on stability. Ciao, Massi ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger news?
On Sun, 2007-01-21 at 23:35 +0100, pablosantosluac wrote: Any news related to the debugger? We are working on it. Mostly, changing the approach when we deal with multiple threads to stop-resume all of them instead of let the user stop them one by one and let the others run, completing the command set (examine, displays...), and working on stability. Ciao, Massi ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger news?
Hi, Any news related to the debugger? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger again
Hi, I saw there is a new MD with lots of improvements. Does it already support debugging? pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] debugger breakpoint question
hi, If I have an application which dinamically loads assemblies, how can I set breakpoints on the loaded code? pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger again
Hi Pablo, [EMAIL PROTECTED] wrote: I saw there is a new MD with lots of improvements. Does it already support debugging? No - http://www.monodevelop.com/FAQ#Can_I_get_the_Debugger_Addin_working_in_MonoDevelop.3F -- Michael Schurter Synthesys Solutions ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Debugger again
Anyone have a time frame on the debugger? On Thu, 2006-09-07 at 07:55 -0500, Michael Schurter wrote: Hi Pablo, [EMAIL PROTECTED] wrote: I saw there is a new MD with lots of improvements. Does it already support debugging? No - http://www.monodevelop.com/FAQ#Can_I_get_the_Debugger_Addin_working_in_MonoDevelop.3F ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] debugger breakpoint question
hi, If I have an application which dinamically loads assemblies, how can I set breakpoints on the loaded code? pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger
Hello, I've been looking around on the web and through the mailing list archives for some info about when the debugger will be ready for monodevelop, but I haven't found anything other than the API changing. Can anyone say what is left to do or if there's a fairly solid target? I'm going to have a little more time on my hands than usual this month, so maybe I could submit a patch or two if there's something I can do that isn't too difficult. Thanks, Clint ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list