immediate-window Questions
6
Solved
I am trying to see the properties of an object with over 300 properties in the Immediate Window of Visual Studio 2005. Only the first 100 items are displayed, followed by this caption:
< More....
Prochronism asked 23/11, 2009 at 20:32
3
Solved
The Problem
I am trying to debug some code, and somewhere in the middle I stopped at a breakpoint. Now I want to change some variables and run a certain loop several times.
How far did I get?
I kno...
Foldboat asked 9/5, 2014 at 15:38
21
Solved
Does anyone know how to clear the immediate window using VBA?
While I can always clear it myself manually, I am curious if there is a way to do this programmatically.
Epifaniaepifano asked 18/4, 2012 at 5:30
6
I use Visual Studio 2017 (15.6.6). When debugging, I try to evaluate simple expressions like int a = 2; in the immediate window. An error
Internal error in the C# compiler
is thrown.
I tried ...
Krumm asked 26/4, 2018 at 9:32
8
Solved
How to print two dimensional array in Immediate window in VBA ? Does it exist any generic method for doing this ? Some method for ploting one row of array per line in Immediate window could solve t...
Rodi asked 11/1, 2013 at 9:18
2
I'm stopped in a breaking point and I need to watch the result of calling, in this context, an async function using the Immediate Window. So I tried
var things = await Client.GetThingsAsync("aPara...
Certifiable asked 26/11, 2019 at 14:27
8
Solved
Is there a command to clear the immediate window in Visual Studio?
I hate having to grab the mouse for a right click menu there - would rather just type "cls" or something.
Bodhisattva asked 3/4, 2009 at 15:39
2
Solved
Is it possible to cast int array into double array in immediate window? I tried to cast but somehow its not working. I would like to know that is it possible or not?
Saharan asked 19/2, 2014 at 14:11
3
Solved
I'm writing a macro which goes through a document and tries to parse it by Style. Right now, anything in the designated style is copied onto the immediate window. Is there a way to automate the mac...
Tillietillinger asked 10/8, 2011 at 17:55
2
I am trying to write values to a file using the Immediate Window in Visual Studio 2017.
I've got a variable called _myItems which is of type Dictionary<int, Dictionary<int, List<int>&g...
Guadalupe asked 16/11, 2018 at 13:48
1
Solved
Am I limited to execute only 1 command in the Excel VBA Immediate Window. Is there a way to execute multiple statements?
Posticous asked 19/9, 2018 at 17:17
2
Solved
I'm attempting something that should be very simple. However I've just started learning today and and can't quite understand.
This is my code so far:
Public Sub getCellData()
Dim wb As Workbook:...
Fruity asked 29/11, 2017 at 1:33
3
Solved
The Immediate Window is an immensely useful tool for debugging applications. It can be used to execute code statements that are valid in the context of a break point and inspect values. I also use ...
Klemperer asked 27/4, 2009 at 16:25
1
Solved
I'm debugging C++ native application on Visual Studio 2015.
After stopping on a breakpoint, I would like to know the Current Directory. (It could have changed during the execution before stopping o...
Dreibund asked 3/12, 2015 at 8:38
5
Solved
I'm in the immediate window in Visual Studio. There's a variable p. How can I deduce the type of the variable p?
I tried p.GetType() but that returns the type of object p. In my case, this is a ve...
Paresh asked 21/11, 2012 at 11:5
2
I'm running visual studio 2013 with resharper. Fast machine, 24gb of memory, editing, compiling is all lightning fast.
If I try to search within the file, or I try to type a command into the imme...
Annamariaannamarie asked 11/8, 2014 at 1:45
3
Solved
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 no...
Cupreous asked 15/8, 2016 at 10:49
4
When I try to evaluate expression in Immediate Window at design time, I get error:
The expression cannot be evaluated while in design mode.
If I compile ASP.NET project and try to run it in de...
Writhe asked 3/5, 2011 at 9:5
1
Solved
I am running Visual Studio 2015, where people claim that lambda expressions are supported in immediate window, watch and other places. But that does not work for me.
I created a new console applica...
Phytophagous asked 11/4, 2016 at 21:16
3
According to Microsoft: "The Immediate window is used at design time to debug and evaluate expressions, execute statements, print variable values, and so forth."
Notice it says "at design time". I...
Sphygmomanometer asked 18/4, 2012 at 18:21
2
Solved
So, I have a vector
std::vector<std::string> lines.
I fill this vector up, and can access it like
std::string temp = lines[0];
However, in the immediate window, both
lines[0] - er...
Disproportionate asked 1/2, 2010 at 20:13
3
Solved
Immediate Window is fantastically useful tools when probing the current state during debugging process. I learned that by using the question mark, one can do a bit more in there as shown in this po...
Spillman asked 22/10, 2015 at 9:54
1
I'm following this tutorial: link. At step 8, when I say .load sos in the Immediate Window, it just pukes expected expression.
System: Win 7 x64, Visual Studio 2012 Premium.
I have an installed De...
Transilient asked 4/6, 2013 at 20:31
4
Solved
If I use dynamic in the immediate window of Visual Studio I get an error
Predefined type 'Microsoft.CSharp.RuntimeBinder.Binder' is not defined or imported
How can I fix that?
Soever asked 26/11, 2012 at 14:27
1
Solved
I have an application that uses log4net. I dump debug to a file as well as stdout.
When launching the application normally, I see all the messages in the output section as well as in the file.
If...
Bade asked 1/10, 2014 at 10:22
1 Next >
© 2022 - 2024 — McMap. All rights reserved.