Results 1 to 6 of 6

Thread: debug

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    debug

    how is it possible to change variables, etc. as u r steppiing through the program?
    (It is easy to do this in vb 6 but not sure how to do it in vb.net)
    Thanks

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I don't think that this happens with .NET proj , since when you debug or even set your proj to release , VS.NET runs the exe file so , I believe you can't change it because it's running . Anyways , there's something you want to see : Tools menu -----Options----Debugging -------Edit and Continue----Changes in Visua Basic and C# Code ------then you'll find two checkboxes . I think these options let you edit while dubugging then it won't update your code till the next run .

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678
    Great.
    Thanks

  4. #4
    Hyperactive Member
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    279
    YES, you can change variable values at runtime, when running an applications from the .NET IDE. You can do it in the Autos, Locals, and Watch windows. All you have to do is click on the variable in one of those windows, and change the value.

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Notice , I was talking about dubugging(changing or additing) code fragments directly to the IDE , which I don't think can be done there .

  6. #6
    Hyperactive Member
    Join Date
    May 2002
    Location
    Wisconsin, USA
    Posts
    279
    No, actually changing code cannot be done at runtime in the IDE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width