[MonoDevelop] How to debug a c program in Monodevelop

Steve Ricketts velocedge at hotmail.com
Mon May 7 20:42:14 UTC 2012


Another thing I tried was to attach to a running process.  I got an error
there that said:

System.InvalidOperationException: ptrace: Operation not permitted.
  at MonoDevelop.Debugger.Gdb.GdbSession.RunCommand (System.String command,
System.String[] args) [0x000d2] in
/home/abuild/rpmbuild/BUILD/monodevelop-debugger-gdb-2.8.6.3/GdbSession.cs:569 
  at MonoDevelop.Debugger.Gdb.GdbSession.OnAttachToProcess (Int64 processId)
[0x0002e] in
/home/abuild/rpmbuild/BUILD/monodevelop-debugger-gdb-2.8.6.3/GdbSession.cs:143 
  at
Mono.Debugging.Client.DebuggerSession+<AttachToProcess>c__AnonStorey7.<>m__4
() [0x00000] in
/home/abuild/rpmbuild/BUILD/monodevelop-2.8.6.3/src/core/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:340 

I'm pretty sure I don't have a clue as to what that means!  ;-)

--
View this message in context: http://mono.1490590.n4.nabble.com/How-to-debug-a-c-program-in-Monodevelop-tp4609307p4615750.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list