Board index » Visual Studio » Bypassing Test Code
|
PauloMesquita
|
Bypassing Test Code
Visual Studio217
Here's a rookie question. How do you pros bypass test code when not needed for awhile, but you don't want to delete it until you are absolutely certain you won't need it later? Do you comment all the line with the single quote? Do you plant a bunch of... Goto SKIPTEST ... test code ... SKIPTEST: ...within your code? Or is there better ways to do this? Also, I often find I need to stop the code at some value or date to then step through a routine. This is what I do alot of... If dMyDate = "01/23/1995" then x = x end if And then highlight x = x with a breakpoint. Naturally x=x does nothing. I can't help thinking there are smarter ways to do all this. Anyone? Thanks. Webbiz (trying to break out of old weak trading habits) - |
