[MonoDevelop] Monodevelop: debug c# apps

Jacek Rużyczka stacheldraht at interia.pl
Wed Feb 17 18:29:07 UTC 2016

Dear Newbie,

what you really needa install, are the debuginfo packages for mono and
all .net libs (Gtk#, for instance) you are using.


Am Mittwoch, den 17.02.2016, 03:30 -0800 schrieb ku3ia:
> Hi! I'm newbie at Mono, please advice. 
> I wrote a simple c# service application at VS 2015, using .NET Framework
> 4.5. 
> I have installed mono and monodevelop on virtualbox on ubuntu 14.04 using
> official site: 
> http://www.monodevelop.com/download/linux/
> I' m successfully opened and built my service app under mono. I'm running it
> as: 
> mono-service -l:/tmp/service.lock "/path/to/service/executable" 
> It is running, everything is fine, but I want to debug it. 
> I'd changed ptrace option like 
> http://askubuntu.com/questions/41629/after-upgrade-gdb-wont-attach-to-process
> And when I'm using at MonoIDE Run->Attach to process, and choose a process
> from list, begins strange situations. 
> At "Application Output" debugger prints me that 
> Could not insert breakpoint at '/path/to/cs/file:line_number': No source
> file named /path/to/cs/file 
> but this file exists 
> Maybe I didn't install some packages?? Or I need to enable some things?? 
> Please help me with this situation. Thanks. 

More information about the Monodevelop-list mailing list