TheCrimulo TheCrimulo - 10 months ago 95
C# Question

External Terminal / Debug outside the IDE

I'm starting to use Xamarin Studio, and migrating from VS to it, but when I try to run a console application (the unique one loaded at the moment), fails and throws an exception in Console.Clear() (Supposing I can't do that in an integrated debugger), then i thought that one way to solve it was by compiling it and running it, like Visual Studio does, and Debug the application outside the IDE, but I can't figure out how. Could someone tell me how to solve this problem? Thanks.

EDIT: For any reason, it runs in the embedded window when selecting Release, but it can't read input, so it gets stuck.

Answer Source

You need to set the project option to have it run your console app in an external console:

Xamarin Studio:

Project Options / Run / General / Run on external console enter image description here

Visual Studio For Mac:

Project Options / Run / Configurations / Default / Run on external console

enter image description here