调试时如何使控制台光标可见 [英] How to make console cursor visible when debugging

查看:162
本文介绍了调试时如何使控制台光标可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个相当复杂的代码库,它在控制台上进行调试,为了进行调试,我经常需要单步查看各种操作在调试和稳定时所产生的影响。 

I'm developing a rather involved code library that draws on the console, for debugging I often need to single step to see the impact that various operations are having as I debug and stabilize. 

然而,每当我把焦点放在Visual Studio上时,我调试的应用程序窗口中的光标就会消失,因为看到内容被写入时会发生什么变得非常麻烦。

Frustratingly however whenever I give the focus to Visual Studio the cursor in my debugged app's window vanishes making it very taxing to see what's happening as stuff gets written.

所以有没有办法强制控制台的光标可见,即使窗口没有焦点?或者至少在Visual Studio有焦点时?

So is there a way to force the console's cursor to be visible even when window does not have focus? or at least when Visual Studio has the focus?

谢谢

推荐答案





然而,无论何时我给予专注于Visual Studio,我调试的应用程序窗口中的光标消失了,因为看到内容写入时发生了什么非常麻烦。

Frustratingly however whenever I give the focus to Visual Studio the cursor in my debugged app's window vanishes making it very taxing to see what's happening as stuff gets written.

所以有办法强制控制台的光标甚至可见什么时候窗户没有焦点?或者至少在Visual Studio有焦点时?

So is there a way to force the console's cursor to be visible even when window does not have focus? or at least when Visual Studio has the focus?


这篇关于调试时如何使控制台光标可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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