Debugging with Mono on a PC

I'm working on a cross-platform app that will eventually run on a Linux platform. Before I get that far, though, I'd like to just test the application running with Mono (instead of the .NET Framework) locally on the PC. Once that's working, I'll then worry about moving to Linux.

The problem I'm having is I have no idea how to get Xamarin Studio (on the PC) to just run the app locally. Unlike the older MonoDevelop tool, it immediately wants to attach to the soft debugger on a device. Am I missing some setting or dialog somewhere?

Posts

  • mhutchmhutch USXamarin Team Xamurai

    What do you mean, it's trying to attach to a device?

    Are you using Run -> Run with -> Mono ?

  • ChristopherTackeChristopherTacke USMember ✭✭

    Yes, I installed Mono 2.10.9 separately and it now shows up as an option in "Run with." It appears to launch the app, based on console output, but I can't hit breakpoints or debug so it's not overly helpful.

  • mhutchmhutch USXamarin Team Xamurai

    Try changing Project -> Active Runtime and debugging should work.

Sign In or Register to comment.