none
How does the debugger work in RTVS? RRS feed

  • Question

  • I'm a little confused about how to use the debugger in RTVS.  It seems like Ctrl+A then Ctrl+Enter runs the code, but what I really want to do is step through one line at a time.  If I enter some breakpoints, they all get skipped.  I can't find a way to go line by line (F8 in VBA would do this or F11 in C# & VB would do the same).  There must be a way to step through the code so a user can debug it, right.  I have the Debug menu turned on, but it doesn't help at all.  The code simply runs to completion and that's it.  Can someone here give me a few tips about how this is supposed to work.

    Thanks!


    MY BOOK

    Friday, May 6, 2016 7:40 PM

Answers

  • No specialist for R, but this works fine on my side (F10):
    https://microsoft.github.io/RTVS-docs/debugging.html

    With kind regards

    • Marked as answer by ryguy72 Monday, May 9, 2016 1:19 PM
    Sunday, May 8, 2016 10:28 AM

All replies

  • It looks like all the variables go to the Variable Explorer Window.  That is very useful!  I still think there should be a way to step through the code one line at a time.  Does anyone know of a way to do this?

    Thanks!


    MY BOOK

    Friday, May 6, 2016 8:18 PM
  • No specialist for R, but this works fine on my side (F10):
    https://microsoft.github.io/RTVS-docs/debugging.html

    With kind regards

    • Marked as answer by ryguy72 Monday, May 9, 2016 1:19 PM
    Sunday, May 8, 2016 10:28 AM
  • That works!  Thanks for the assistance!!


    MY BOOK

    Monday, May 9, 2016 1:19 PM