Visual Studio 2k5 - Interactive Window?

SinNisTeR

Diamond Member
Jan 3, 2001
3,570
0
0
Is there a way to add an interactive window to visual studio for C# like you can for F#? I've gotten used to doing a lot of Scheme recently and DrScheme has a wonderful interactive window where you can test out bits of code without debugging. This would do wonders for me in C#. I know there is one when you're debugging, but I'm trying to skip entering into the debugger if possible.

edit: typo
 

Noobsa44

Member
Jun 7, 2005
65
0
0
What your describing is typically done with scripting languages (and not done with compiled languages) in which you have a command line window or something like that and can run a few lines of code just to see how it will react. I know Ruby (and Ruby.net or whatever it's called) does this, but I don't believe I've seen the feature in VS 2008. You could always make your own scripting program or use one from http://www.codeproject.com/.
 

tfinch2

Lifer
Feb 3, 2004
22,114
1
0
Originally posted by: Noobsa44
What your describing is typically done with scripting languages (and not done with compiled languages) in which you have a command line window or something like that and can run a few lines of code just to see how it will react. I know Ruby (and Ruby.net or whatever it's called) does this, but I don't believe I've seen the feature in VS 2008. You could always make your own scripting program or use one from http://www.codeproject.com/.

There is an open source project that does it for C#, but it uses Mono. He asked specifically for VS2k5 though.
 

SinNisTeR

Diamond Member
Jan 3, 2001
3,570
0
0
Originally posted by: programmer
The debugger is your friend :)

It's not that I don't like/use the debugger.. It's that I don't want to compile and execute it to run a bit of code. Especially if the code I'm working on takes quite a bit of setup to be able to test.

Thanks for the recommendation Markbnj. I'm going to try it now.