IDE 外部的外部终端/调试 [英] External Terminal / Debug outside the IDE

查看:24
本文介绍了IDE 外部的外部终端/调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始使用 Xamarin Studio,并从 VS 迁移到它,但是当我尝试运行控制台应用程序(目前加载的唯一应用程序)时,失败并在 Console.Clear() 中引发异常(假设我不能在集成调试器中做到这一点),那么我认为解决它的一种方法是像 Visual Studio 一样编译并运行它,然后在 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.

不管什么原因,它在选择Release时在嵌入式窗口中运行,但它无法读取输入,所以它卡住了.

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

推荐答案

您需要设置项目选项才能让它在外部控制台中运行您的控制台应用程序:

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

项目选项/Run/Configurations/Default/在外部控制台上运行

项目选项/运行/常规/在外部控制台上运行

Project Options / Run / General / Run on external console

这篇关于IDE 外部的外部终端/调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆