[MonoDevelop] Monodevelop: debug c# apps

ku3ia demesg at gmail.com
Wed Feb 17 11:30:04 UTC 2016


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. 



-----
Windows? No, don't know!!!
--
View this message in context: http://mono.1490590.n4.nabble.com/Monodevelop-debug-c-apps-tp4667449.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list