Skip to content

Commit

Permalink
Merge pull request #147 from ManuelHentschel/bugfix
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
ManuelHentschel authored Jan 8, 2021
2 parents 7952d45 + 6b3198a commit 1ab5084
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: vscDebugger
Title: Support for Visual Studio Code Debugger
Version: 0.4.4
Version: 0.4.5
Authors@R:
person(given = "Manuel",
family = "Hentschel",
Expand Down
2 changes: 2 additions & 0 deletions R/breakpointsHelpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# set some state in session?
# logPrint('pre breakpoint!!!')
# request `n`
session$clearStackTree <- TRUE
sendWriteToStdinForFlowControl('n')
# sendWriteToStdinEvent('n', when = "browserPrompt")
session$state$startPaused(pausedOn = "breakpoint")
Expand All @@ -19,6 +20,7 @@
# logPrint('pre breakpoint!!!')
# request `n`
# sendWriteToStdinEvent('n', when = "browserPrompt")
session$clearStackTree <- TRUE
sendWriteToStdinForFlowControl('n')
session$state$startPaused(pausedOn = "breakpoint")
# send breakpoint event
Expand Down
2 changes: 1 addition & 1 deletion R/debugAdapter.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
command <- lget(request, 'command', '')
args <- lget(request, 'arguments', list())
commandKnown <- TRUE
ret <- try({
ret <- ({
if(command == 'stackTrace'){
stackTraceRequest(response, args, request)
} else if(command == 'scopes'){
Expand Down

0 comments on commit 1ab5084

Please # to comment.