Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. IDE / Command Window

IDE / Command Window

Scheduled Pinned Locked Moved C#
csharphelpquestionvisual-studiodebugging
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    doctrane
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • D doctrane

      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

      M Offline
      M Offline
      Mardawi
      wrote on last edited by
      #2

      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.

      D 1 Reply Last reply
      0
      • M Mardawi

        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.

        D Offline
        D Offline
        doctrane
        wrote on last edited by
        #3

        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:

        M 1 Reply Last reply
        0
        • D doctrane

          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:

          M Offline
          M Offline
          Mardawi
          wrote on last edited by
          #4

          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.

          D 1 Reply Last reply
          0
          • M Mardawi

            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.

            D Offline
            D Offline
            doctrane
            wrote on last edited by
            #5

            I think I'll build an Add-In:laugh:

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups