IDE / Command Window
-
Simple question: After using this window plus the Watch window in VB(6,.net) using functions like substring, indexof, trim around variables like ?var.Substring(0,1) IN C# I get the error(s) for ALL functions (out of scope, does not exist,etc.) There must be a way out of this, besides having to break the routine, put a debug statement around the variable, recompile and watch!!! ARGH! HELP
-
Simple question: After using this window plus the Watch window in VB(6,.net) using functions like substring, indexof, trim around variables like ?var.Substring(0,1) IN C# I get the error(s) for ALL functions (out of scope, does not exist,etc.) There must be a way out of this, besides having to break the routine, put a debug statement around the variable, recompile and watch!!! ARGH! HELP
-
yeah, these function are not in C# as VB 6.0 for sure. you can debug by puting a break point anywhere, you have the watch window, locals and autos.
I'm dumbfounded!! You mean, if I want to experiment on the fly with some parsing problem, I can only do this after a compile??? and not real time?? What a huge disadvantage... How do you work out the kinks without pulling your hair out.... Even setting a watch to let's say val.Trim(), throws and error!!! but I would presume that foo=bar.Trim() watch on foo won't!!! Awful! :confused:
-
I'm dumbfounded!! You mean, if I want to experiment on the fly with some parsing problem, I can only do this after a compile??? and not real time?? What a huge disadvantage... How do you work out the kinks without pulling your hair out.... Even setting a watch to let's say val.Trim(), throws and error!!! but I would presume that foo=bar.Trim() watch on foo won't!!! Awful! :confused:
-
yeah, life isn't easy! ;P why don't you save the day and post some VB code and i'll help you translating it to C#. becuase i really don't know where i should start to help you.