Re: [Mono-list] Debugging C# code with Embedded Mono?
Woo Hoo! I got this to work on Linux. Still doesn't work on Windows though. http://mono.1490590.n4.nabble.com/file/n4450142/DFIZK.png -- View this message in context: http://mono.1490590.n4.nabble.com/Debugging-C-code-with-Embedded-Mono-tp4432086p4450142.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debugging C# code with Embedded Mono?
Is there c++ support in mono? I think you are stuck there. Try using c# or vb. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debugging C# code with Embedded Mono?
Well, I managed to get MD to connect to my App, I see the assemblies loaded in the Application Output window of MD. How do I tell MD which source files go with the Assemblies? I opened the source .cs file and set breakpoints, but they don't get hit. There is no main project or solution, the main program is C++, is there something similar to gdb path ? -- View this message in context: http://mono.1490590.n4.nabble.com/Debugging-C-code-with-Embedded-Mono-tp4432086p4442047.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debugging C# code with Embedded Mono?
Something in the same direction is a question about Embedded Mono on a Debian platform Is it possible to debug a c# console application also? I had managed to compile mono server on my embedded unit (had to shift with available space a little) and run mono server too, but it faulted probably because it wants to open a console window on X, at that's not possible. Reading about agents and so on, do i perhaps not need the Mono Server, but just a commandline argument starting mono? The idea is to debug it via the Visual Studio (2010) plugin, wich works marvelous in combination with for example Ubuntu. Hoping someone knows! Thanks in advance. -- View this message in context: http://mono.1490590.n4.nabble.com/Debugging-C-code-with-Embedded-Mono-tp4432086p4438082.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Debugging C# code with Embedded Mono?
On 29 February 2012 11:38, efontana wrote: > I'm using Embedded Mono (works great), my question now is, can I somehow use > MonoDevelop to attach > to the native executable and then open open C# source lines and set > breakpoints/single step, etc. > > I realize that I can use basic GDB stuff like here: > http://www.mono-project.com/Debugging#Debugging_with_GDB > > But I'm looking for C# source level debug? > > It's a major pain for me to build MonoDevelop to try it out on Linux (it > needs dozens if not hundreds) of > packages. > > Will this work? Yes. Firstly your embedding app needs to initialize the debugger by passing agent args to Mono, then you need to make MD connect to it. For the "productized" version you'd need a MD addin but you can work around that for testing, see MONODEVELOP_SDB_TEST -- Michael Hutchinson http://mjhutchinson.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Debugging C# code with Embedded Mono?
I'm using Embedded Mono (works great), my question now is, can I somehow use MonoDevelop to attach to the native executable and then open open C# source lines and set breakpoints/single step, etc. I realize that I can use basic GDB stuff like here: http://www.mono-project.com/Debugging#Debugging_with_GDB But I'm looking for C# source level debug? It's a major pain for me to build MonoDevelop to try it out on Linux (it needs dozens if not hundreds) of packages. Will this work? Thanks in advance. -- View this message in context: http://mono.1490590.n4.nabble.com/Debugging-C-code-with-Embedded-Mono-tp4432086p4432086.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list