output-window

visual studio 2008 output window stopped working

混江龙づ霸主 提交于 2019-12-24 10:13:01
问题 i've been working on a C++ project for some time now in VS 2008. Until recently, upon terminating my application the output window would show if i had any memory leaks. however, a few days ago i noticed it stopped showing this valuable information. i also tried throwing some printf() around, but the output window isn't showing that either. i'm guessing i changed a preference somewhere, but i can't seem to find it. all the output shows now is which dll's it has loaded/unloaded. any ideas?

Write SqlDataReader to immediate window c#

落花浮王杯 提交于 2019-12-20 00:59:32
问题 I am trying to debug a SQL response which is throwing an error: Conversion failed when converting the varchar value '0.01' to data type bit. That does not make a lot of sense as object does not have any bools. Code: using (var connection = _connectionProvider.GetDbConnection()) { connection.Open(); return connection.Query<Rate>(query, parameters); } SQL that gets executed (I manually added parameters): select * from (select top 1 BuildNumber, RateVersion, SampleId, Tariff, TariffStepName,

A first chance exception of type 'System.Xml.XmlException' occurred in System.Xml.dll

我怕爱的太早我们不能终老 提交于 2019-12-12 06:27:10
问题 I have seen in the output-Window of Visual Studio, that there occurs many times the Message A first chance exception of type 'System.Xml.XmlException' occurred in System.Xml.dll When I fill the DataGrid (Xaml/WPF - DevExpress DXGrid). Does anybody know why this is? 回答1: http://blogs.msdn.com/b/davidklinems/archive/2005/07/12/438061.aspx Maybe this helps you further. Edit Based on your comment on your question, I assume, that you are interested in finding a bottleneck in your application. This

How to open black Console(Output) Window in windows form application in Visual Studio

人走茶凉 提交于 2019-12-11 03:35:46
问题 I can't find how to open that black window that I can cout and stuff. I would appreciate if anybody could help. Thank you very much in advance. 回答1: That's a console window`, and you open it with AllocConsole. See all of the Console Functions at MSDN. 回答2: Default key mapping is Ctrl + W,O Or do View menu -> Output window There is also an immediate window which let's you execute statements, like ?myVal and it will tell you the value. It can be found at Ctrl+D,I or Debug->Windows->Immediate

Double click to go to source in Output Window

白昼怎懂夜的黑 提交于 2019-12-10 01:04:41
问题 When you build a project in Visual Studio, the Output Window outputs the status of the build process, which included errors and warnings. Double clicking those lines will open up the file containing that error/warning in the editor. Now, is it possible to get that functionality with output from Debug.WriteLine, or anything like that? So that when the Debug window outputs for example Buffering: 13:03:20 to 13:03:21 I would be able to double click it and be taken to BufferClass.cs, line 45,

Visual Studio output window is not displaying messages sent by Debug.Write()

余生长醉 提交于 2019-12-08 15:51:57
问题 I am using Visual Studio 2010 Professional in trial mode... and suddenly the Output window won't show my Debug.Write() stuff. It had been showing it for the past month. I have been using the 2010 version for 30 days (after upgrading from Visual Studio 2003) in trial mode. I just renewed the trial for the extra 60 days, and the "About Visual Studio" window says I still have 59 days left. I have verified that the application is running properly, without errors. When I purposely generate an

Double click to go to source in Output Window

六眼飞鱼酱① 提交于 2019-12-05 00:02:49
When you build a project in Visual Studio, the Output Window outputs the status of the build process, which included errors and warnings. Double clicking those lines will open up the file containing that error/warning in the editor. Now, is it possible to get that functionality with output from Debug.WriteLine, or anything like that? So that when the Debug window outputs for example Buffering: 13:03:20 to 13:03:21 I would be able to double click it and be taken to BufferClass.cs, line 45, since that was the location of the Debug.WriteLine call. Is that possible, either through .net libraries,

Write SqlDataReader to immediate window c#

旧时模样 提交于 2019-12-01 21:05:42
I am trying to debug a SQL response which is throwing an error: Conversion failed when converting the varchar value '0.01' to data type bit. That does not make a lot of sense as object does not have any bools. Code: using (var connection = _connectionProvider.GetDbConnection()) { connection.Open(); return connection.Query<Rate>(query, parameters); } SQL that gets executed (I manually added parameters): select * from (select top 1 BuildNumber, RateVersion, SampleId, Tariff, TariffStepName, Factor1, Result1 from dbo.Rates where Tariff = 'Default' and TariffStepName = 'I_P' and (RateVersion <= 1)

Redirect the output (stdout, stderr) of a child process to the Output window in Visual Studio

微笑、不失礼 提交于 2019-11-28 09:51:55
At the moment I am starting a batch file from my C# program with: System.Diagnostics.Process.Start(@"DoSomeStuff.bat"); What I would like to be able to do is redirect the output (stdout and stderr) of that child process to the Output window in Visual Studio (specifically Visual C# Express 2008). Is there a way to do that? (Additionally: such that it's not all buffered up and then spat out to the Output window when the child process finishes.) (BTW: At the moment I can get stdout (but not stderr) of the parent process to appear in the Output window, by making my program a "Windows Application"

Redirect the output (stdout, stderr) of a child process to the Output window in Visual Studio

大城市里の小女人 提交于 2019-11-27 03:16:31
问题 At the moment I am starting a batch file from my C# program with: System.Diagnostics.Process.Start(@"DoSomeStuff.bat"); What I would like to be able to do is redirect the output (stdout and stderr) of that child process to the Output window in Visual Studio (specifically Visual C# Express 2008). Is there a way to do that? (Additionally: such that it's not all buffered up and then spat out to the Output window when the child process finishes.) (BTW: At the moment I can get stdout (but not