In addition to the details for issue, please provide us Executables information and Debug output unless you have confidence that they don't help us.
Executables
Version of bash-debug: (can be checked in: ctrl+shift+X or command+shift+X -> INSTALLED: Bash Debug)
v0.3.9 using vscode remote connection to redhat 8 linux server (not WSL).
input command: region='us-gov-west-1'
result: '-1'
all other 150+ lines of code execute as expected including aws cli commands. Seems to be ok on windows desktop using git bash locally
Output of following commands (on windows, execute them in Command Prompt or PowerShell):
add non-space character after '1' (e.g. region='us-gov-west-1x') sets variable correctly but value is not usable or convertible to a desirable value.
escape characters are not interpreted as escape: input region='us-gov-west-\1'; output us-gov-west-\1 (same with windows escape character (`)
Debug output
From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"bashdb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":false,"supportsEvaluateForHovers":true,"supportsStepBack":false,"supportsSetVariable":false}}
From client: launch({"type":"bashdb","request":"launch","name":"Bash-Debug (simplest configuration)","program":"/var/home/ec2-user/rgn","showDebugOutput":true,"trace":true,"configurationTarget":6,"args":[],"argsString":"","env":{},"cwd":"/var/home/ec2-user","pathBash":"bash","pathBashdb":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","pathBashdbLib":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir","pathCat":"cat","pathMkfifo":"mkfifo","pathPkill":"pkill","sessionId":"afb5c859-d774-471b-b306-3c5606fb1f4d"})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"::PROXYID::252779\n"}}
::PROXYID::252779
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/command/source.sh: line 41: /dev/stdin: No such device or address\n"}}
/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/command/source.sh: line 41: /dev/stdin: No such device or address
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(/var/home/ec2-user/rgn:1):\n1:\tregion='us-gov-west-1'\n"}} (/var/home/ec2-user/rgn:1): 1: region='us-gov-west-1'
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending StoppedEvent"}}
To client: {"seq":0,"type":"event","event":"stopped","body":{"reason":"break","threadId":42}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Debug environment: bash_ver=4.4.20(1)-release, bashdb_ver=4.4-0.94-mod, program=/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb, args=\n"}}
Debug environment: bash_ver=4.4.20(1)-release, bashdb_ver=4.4-0.94-mod, program=/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb, args=
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781\n"}}
252781
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":true}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending InitializedEvent"}}
To client: {"seq":0,"type":"event","event":"initialized"}
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":3,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}}
From client: setBreakpoints({"source":{"name":"refreshkeys.sh","path":"/var/home/ec2-user/refreshkeys.sh"},"lines":[45,72,82,84,85,86],"breakpoints":[{"line":45},{"line":72},{"line":82},{"line":84},{"line":85},{"line":86}],"sourceModified":false})
From client: setBreakpoints({"source":{"name":"refreshshortkeys.sh","path":"/var/home/ec2-user/refreshshortkeys.sh"},"lines":[44],"breakpoints":[{"line":44}],"sourceModified":false})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"File /var/home/ec2-user/refreshkeys.sh loaded.\n"}}
File /var/home/ec2-user/refreshkeys.sh loaded.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:45 > \n"}}
break </var/home/ec2-user/refreshkeys.sh:45 >
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 1 set in file /var/home/ec2-user/refreshkeys.sh, line 45.\n"}}
Breakpoint 1 set in file /var/home/ec2-user/refreshkeys.sh, line 45.
From client: stackTrace({"threadId":42,"startFrame":0,"levels":20})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:72 > \n"}}
break </var/home/ec2-user/refreshkeys.sh:72 >
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 2 set in file /var/home/ec2-user/refreshkeys.sh, line 72.\n"}}
Breakpoint 2 set in file /var/home/ec2-user/refreshkeys.sh, line 72.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:82 > \n"}}
break </var/home/ec2-user/refreshkeys.sh:82 >
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 3 set in file /var/home/ec2-user/refreshkeys.sh, line 82.\n"}}
Breakpoint 3 set in file /var/home/ec2-user/refreshkeys.sh, line 82.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:84 > \n"}}
break </var/home/ec2-user/refreshkeys.sh:84 >
From client: stackTrace({"threadId":42,"startFrame":0,"levels":20})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 4 set in file /var/home/ec2-user/refreshkeys.sh, line 84.\n"}}
Breakpoint 4 set in file /var/home/ec2-user/refreshkeys.sh, line 84.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:85 > \n"}}
break </var/home/ec2-user/refreshkeys.sh:85 >
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 5 set in file /var/home/ec2-user/refreshkeys.sh, line 85.\n"}}
Breakpoint 5 set in file /var/home/ec2-user/refreshkeys.sh, line 85.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:86 > \n"}}
break </var/home/ec2-user/refreshkeys.sh:86 >
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 6 set in file /var/home/ec2-user/refreshkeys.sh, line 86.\n"}}
Breakpoint 6 set in file /var/home/ec2-user/refreshkeys.sh, line 86.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Source files which we have recorded info about:\n"}}
Source files which we have recorded info about:
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/refreshkeys.sh: /var/home/ec2-user/refreshkeys.sh, 151 lines\n"}}
/var/home/ec2-user/refreshkeys.sh: /var/home/ec2-user/refreshkeys.sh, 151 lines
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/rgn: /var/home/ec2-user/rgn, 1 lines\n"}}
/var/home/ec2-user/rgn: /var/home/ec2-user/rgn, 1 lines
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Num Type Disp Enb What\n----------------------------\n"}}
Num Type Disp Enb What
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"1 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:45\n"}}
1 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:45
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"2 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:72"}}
2 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:72To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"3 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:82"}}
3 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:82To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"4 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:84"}}
4 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:84To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"5 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:85"}}
5 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:85To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"6 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:86"}}
6 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:86To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}}
252781############################################################
To client: {"seq":0,"type":"response","request_seq":4,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"verified":true,"line":45,"id":1},{"verified":true,"line":72,"id":2},{"verified":true,"line":82,"id":3},{"verified":true,"line":84,"id":4},{"verified":true,"line":85,"id":5},{"verified":true,"line":86,"id":6}]}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"File /var/home/ec2-user/refreshshortkeys.sh loaded.\n"}}
File /var/home/ec2-user/refreshshortkeys.sh loaded.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshshortkeys.sh:44 > \n"}}
break </var/home/ec2-user/refreshshortkeys.sh:44 >
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 7 set in file /var/home/ec2-user/refreshshortkeys.sh, line 44.\n"}}
Breakpoint 7 set in file /var/home/ec2-user/refreshshortkeys.sh, line 44.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Source files which we have recorded info about:\n"}}
Source files which we have recorded info about:
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/refreshkeys.sh: /var/home/ec2-user/refreshkeys.sh, 151 lines\n"}}
/var/home/ec2-user/refreshkeys.sh: /var/home/ec2-user/refreshkeys.sh, 151 lines
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/refreshshortkeys.sh: /var/home/ec2-user/refreshshortkeys.sh, 86 lines\n"}}
/var/home/ec2-user/refreshshortkeys.sh: /var/home/ec2-user/refreshshortkeys.sh, 86 lines
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/rgn: /var/home/ec2-user/rgn, 1 lines\n"}}
/var/home/ec2-user/rgn: /var/home/ec2-user/rgn, 1 lines
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Num Type Disp Enb What\n----------------------------\n"}}
Num Type Disp Enb What
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"1 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:45"}}
1 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:45To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"2 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:72"}}
2 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:72To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"3 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:82"}}
3 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:82To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"4 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:84"}}
4 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:84To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"5 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:85"}}
5 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:85To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"6 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:86"}}
6 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:86To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"7 breakpoint keep y /var/home/ec2-user/refreshshortkeys.sh:44"}}
7 breakpoint keep y /var/home/ec2-user/refreshshortkeys.sh:44To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}}
252781############################################################
To client: {"seq":0,"type":"response","request_seq":5,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"verified":true,"line":44,"id":7}]}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"backtrace\n"}}
backtrace
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"->0 in file /var/home/ec2-user/rgn' at line 1\n"}} ->0 in file/var/home/ec2-user/rgn' at line 1
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##1 source"}}
1 sourceTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"/var/home/ec2-user/rgn\") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102\n"}}
("/var/home/ec2-user/rgn") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##2 main"}}
2 mainTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-10829\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-10829_in\", \"--library\", \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/var/home/ec2-user/rgn\") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-10829", "--tty_in", "/tmp/vscode-bash-debug-fifo-10829_in", "--library", "/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir", "--", "/var/home/ec2-user/rgn") called from file /var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}} 252781############################################################ To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file/var/home/ec2-user/rgn' at line 1'\n"}}
To client: {"seq":0,"type":"response","request_seq":6,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"rgn","path":"/var/home/ec2-user/rgn","sourceReference":0,"adapterData":"bash-adapter-data"},"line":1,"column":0,"name":"->0 in file /var/home/ec2-user/rgn' at line 1"},{"id":1,"source":{"name":"bashdb","path":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":102,"column":0,"name":"##1 source(\"/var/home/ec2-user/rgn\") called from file/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102"},{"id":2,"source":{"name":"bashdb","path":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-10829\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-10829_in\", \"--library\", \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/var/home/ec2-user/rgn\") called from file /var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}} To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"backtrace\n"}} backtrace To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"->0 in file/var/home/ec2-user/rgn' at line 1\n"}}
->0 in file `/var/home/ec2-user/rgn' at line 1
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##1 source"}}
1 sourceTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"/var/home/ec2-user/rgn\") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102\n"}}
("/var/home/ec2-user/rgn") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##2 main"}}
2 mainTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-10829\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-10829_in\", \"--library\", \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/var/home/ec2-user/rgn\") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-10829", "--tty_in", "/tmp/vscode-bash-debug-fifo-10829_in", "--library", "/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir", "--", "/var/home/ec2-user/rgn") called from file /var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}} 252781############################################################ To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file/var/home/ec2-user/rgn' at line 1'\n"}}
To client: {"seq":0,"type":"response","request_seq":7,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"rgn","path":"/var/home/ec2-user/rgn","sourceReference":0,"adapterData":"bash-adapter-data"},"line":1,"column":0,"name":"->0 in file /var/home/ec2-user/rgn' at line 1"},{"id":1,"source":{"name":"bashdb","path":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":102,"column":0,"name":"##1 source(\"/var/home/ec2-user/rgn\") called from file/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102"},{"id":2,"source":{"name":"bashdb","path":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-10829\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-10829_in\", \"--library\", \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/var/home/ec2-user/rgn\") called from file /var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}} From client: setExceptionBreakpoints({"filters":[]}) To client: {"seq":0,"type":"response","request_seq":8,"command":"setExceptionBreakpoints","success":true} From client: threads(undefined) To client: {"seq":0,"type":"response","request_seq":9,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}} From client: scopes({"frameId":0}) To client: {"seq":0,"type":"response","request_seq":10,"command":"scopes","success":true,"body":{"scopes":[{"name":"Local","variablesReference":57,"expensive":false}]}} From client: variables({"variablesReference":57}) To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Program stopped.\n"}} Program stopped. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"It stopped after being stepped.\nNext statement to be run is:\n\tregion='us-gov-west-1'\n"}}
It stopped after being stepped.
Next statement to be run is:
region='us-gov-west-`1'
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"examine <$PWD> \n"}}
examine <$PWD>
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"/var/home/ec2-user\n"}}
/var/home/ec2-user
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"examine <$? # from . \"$_Dbg_script_file\"> \n"}}
examine <$? # from . "$_Dbg_script_file">
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"0 # from '. \"$_Dbg_script_file\"'\n"}}
0 # from '. "$_Dbg_script_file"'
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}}
252781############################################################
To client: {"seq":0,"type":"response","request_seq":11,"command":"variables","success":true,"body":{"variables":[{"name":"$PWD","type":"string","value":"/var/home/ec2-user","variablesReference":0},{"name":"$? ","type":"string","value":"0 # from '. \"$_Dbg_script_file\"'","variablesReference":0}]}}
From client: continue({"threadId":42})
To client: {"seq":0,"type":"response","request_seq":12,"command":"continue","success":true}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"continue\n"}}
continue
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Debugged program terminated normally. Use q to quit or R to restart.\n"}}
Debugged program terminated normally. Use q to quit or R to restart.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending TerminatedEvent"}}
To client: {"seq":0,"type":"event","event":"terminated"}
From client: disconnect({"restart":false})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"bash: line 1: 252782 Killed \"bash\" \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb\" --quiet --tty \"/tmp/vscode-bash-debug-fifo-10829\" --tty_in \"/tmp/vscode-bash-debug-fifo-10829_in\" --library \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\" -- \"/var/home/ec2-user/rgn\"\n"}}
bash: line 1: 252782 Killed "bash" "/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb" --quiet --tty "/tmp/vscode-bash-debug-fifo-10829" --tty_in "/tmp/vscode-bash-debug-fifo-10829_in" --library "/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir" -- "/var/home/ec2-user/rgn"
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"Terminated\n"}}
Terminated
To client: {"seq":0,"type":"response","request_seq":13,"command":"disconnect","success":true}
In addition to the details for issue, please provide us Executables information and Debug output unless you have confidence that they don't help us.
Executables
Version of bash-debug: (can be checked in: ctrl+shift+X or command+shift+X -> INSTALLED: Bash Debug)
Output of following commands (on windows, execute them in Command Prompt or PowerShell):
add non-space character after '1' (e.g. region='us-gov-west-1x') sets variable correctly but value is not usable or convertible to a desirable value. escape characters are not interpreted as escape: input region='us-gov-west-\1'; output us-gov-west-\1 (same with windows escape character (`)
Debug output
From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"bashdb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true}) To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":false,"supportsEvaluateForHovers":true,"supportsStepBack":false,"supportsSetVariable":false}} From client: launch({"type":"bashdb","request":"launch","name":"Bash-Debug (simplest configuration)","program":"/var/home/ec2-user/rgn","showDebugOutput":true,"trace":true,"configurationTarget":6,"args":[],"argsString":"","env":{},"cwd":"/var/home/ec2-user","pathBash":"bash","pathBashdb":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","pathBashdbLib":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir","pathCat":"cat","pathMkfifo":"mkfifo","pathPkill":"pkill","sessionId":"afb5c859-d774-471b-b306-3c5606fb1f4d"}) To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"::PROXYID::252779\n"}} ::PROXYID::252779 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/command/source.sh: line 41: /dev/stdin: No such device or address\n"}} /var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/command/source.sh: line 41: /dev/stdin: No such device or address To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(/var/home/ec2-user/rgn:1):\n1:\tregion='us-gov-west-
1'\n"}} (/var/home/ec2-user/rgn:1): 1: region='us-gov-west-
1' To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending StoppedEvent"}} To client: {"seq":0,"type":"event","event":"stopped","body":{"reason":"break","threadId":42}} To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Debug environment: bash_ver=4.4.20(1)-release, bashdb_ver=4.4-0.94-mod, program=/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb, args=\n"}} Debug environment: bash_ver=4.4.20(1)-release, bashdb_ver=4.4-0.94-mod, program=/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb, args= To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781\n"}} 252781 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"############################################################\n"}} ############################################################ To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":true} To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending InitializedEvent"}} To client: {"seq":0,"type":"event","event":"initialized"} From client: threads(undefined) To client: {"seq":0,"type":"response","request_seq":3,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}} From client: setBreakpoints({"source":{"name":"refreshkeys.sh","path":"/var/home/ec2-user/refreshkeys.sh"},"lines":[45,72,82,84,85,86],"breakpoints":[{"line":45},{"line":72},{"line":82},{"line":84},{"line":85},{"line":86}],"sourceModified":false}) From client: setBreakpoints({"source":{"name":"refreshshortkeys.sh","path":"/var/home/ec2-user/refreshshortkeys.sh"},"lines":[44],"breakpoints":[{"line":44}],"sourceModified":false}) To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"File /var/home/ec2-user/refreshkeys.sh loaded.\n"}} File /var/home/ec2-user/refreshkeys.sh loaded. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:45 > \n"}} break </var/home/ec2-user/refreshkeys.sh:45 > To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 1 set in file /var/home/ec2-user/refreshkeys.sh, line 45.\n"}} Breakpoint 1 set in file /var/home/ec2-user/refreshkeys.sh, line 45. From client: stackTrace({"threadId":42,"startFrame":0,"levels":20}) To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:72 > \n"}} break </var/home/ec2-user/refreshkeys.sh:72 > To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 2 set in file /var/home/ec2-user/refreshkeys.sh, line 72.\n"}} Breakpoint 2 set in file /var/home/ec2-user/refreshkeys.sh, line 72. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:82 > \n"}} break </var/home/ec2-user/refreshkeys.sh:82 > To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 3 set in file /var/home/ec2-user/refreshkeys.sh, line 82.\n"}} Breakpoint 3 set in file /var/home/ec2-user/refreshkeys.sh, line 82. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:84 > \n"}} break </var/home/ec2-user/refreshkeys.sh:84 > From client: stackTrace({"threadId":42,"startFrame":0,"levels":20}) To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 4 set in file /var/home/ec2-user/refreshkeys.sh, line 84.\n"}} Breakpoint 4 set in file /var/home/ec2-user/refreshkeys.sh, line 84. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:85 > \n"}} break </var/home/ec2-user/refreshkeys.sh:85 > To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 5 set in file /var/home/ec2-user/refreshkeys.sh, line 85.\n"}} Breakpoint 5 set in file /var/home/ec2-user/refreshkeys.sh, line 85. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshkeys.sh:86 > \n"}} break </var/home/ec2-user/refreshkeys.sh:86 > To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 6 set in file /var/home/ec2-user/refreshkeys.sh, line 86.\n"}} Breakpoint 6 set in file /var/home/ec2-user/refreshkeys.sh, line 86. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Source files which we have recorded info about:\n"}} Source files which we have recorded info about: To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/refreshkeys.sh: /var/home/ec2-user/refreshkeys.sh, 151 lines\n"}} /var/home/ec2-user/refreshkeys.sh: /var/home/ec2-user/refreshkeys.sh, 151 lines To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/rgn: /var/home/ec2-user/rgn, 1 lines\n"}} /var/home/ec2-user/rgn: /var/home/ec2-user/rgn, 1 lines To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Num Type Disp Enb What\n----------------------------\n"}} Num Type Disp Enb WhatTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"1 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:45\n"}} 1 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:45 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"2 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:72"}} 2 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:72To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"3 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:82"}} 3 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:82To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"4 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:84"}} 4 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:84To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"5 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:85"}} 5 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:85To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"6 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:86"}} 6 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:86To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}} 252781############################################################ To client: {"seq":0,"type":"response","request_seq":4,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"verified":true,"line":45,"id":1},{"verified":true,"line":72,"id":2},{"verified":true,"line":82,"id":3},{"verified":true,"line":84,"id":4},{"verified":true,"line":85,"id":5},{"verified":true,"line":86,"id":6}]}} To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"File /var/home/ec2-user/refreshshortkeys.sh loaded.\n"}} File /var/home/ec2-user/refreshshortkeys.sh loaded. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"break </var/home/ec2-user/refreshshortkeys.sh:44 > \n"}} break </var/home/ec2-user/refreshshortkeys.sh:44 > To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Breakpoint 7 set in file /var/home/ec2-user/refreshshortkeys.sh, line 44.\n"}} Breakpoint 7 set in file /var/home/ec2-user/refreshshortkeys.sh, line 44. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Source files which we have recorded info about:\n"}} Source files which we have recorded info about: To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/refreshkeys.sh: /var/home/ec2-user/refreshkeys.sh, 151 lines\n"}} /var/home/ec2-user/refreshkeys.sh: /var/home/ec2-user/refreshkeys.sh, 151 lines To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/refreshshortkeys.sh: /var/home/ec2-user/refreshshortkeys.sh, 86 lines\n"}} /var/home/ec2-user/refreshshortkeys.sh: /var/home/ec2-user/refreshshortkeys.sh, 86 lines To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":" /var/home/ec2-user/rgn: /var/home/ec2-user/rgn, 1 lines\n"}} /var/home/ec2-user/rgn: /var/home/ec2-user/rgn, 1 lines To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Num Type Disp Enb What\n----------------------------\n"}} Num Type Disp Enb What
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"1 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:45"}} 1 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:45To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"2 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:72"}} 2 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:72To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"3 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:82"}} 3 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:82To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"4 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:84"}} 4 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:84To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"5 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:85"}} 5 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:85To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"6 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:86"}} 6 breakpoint keep y /var/home/ec2-user/refreshkeys.sh:86To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"7 breakpoint keep y /var/home/ec2-user/refreshshortkeys.sh:44"}} 7 breakpoint keep y /var/home/ec2-user/refreshshortkeys.sh:44To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"\n"}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}} 252781############################################################ To client: {"seq":0,"type":"response","request_seq":5,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"verified":true,"line":44,"id":7}]}} To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"backtrace\n"}} backtrace To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"->0 in file
/var/home/ec2-user/rgn' at line 1\n"}} ->0 in file
/var/home/ec2-user/rgn' at line 1 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##1 source"}}1 sourceTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"/var/home/ec2-user/rgn\") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102\n"}}
("/var/home/ec2-user/rgn") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##2 main"}}
2 mainTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-10829\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-10829_in\", \"--library\", \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/var/home/ec2-user/rgn\") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-10829", "--tty_in", "/tmp/vscode-bash-debug-fifo-10829_in", "--library", "/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir", "--", "/var/home/ec2-user/rgn") called from file
/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}} 252781############################################################ To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file
/var/home/ec2-user/rgn' at line 1'\n"}} To client: {"seq":0,"type":"response","request_seq":6,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"rgn","path":"/var/home/ec2-user/rgn","sourceReference":0,"adapterData":"bash-adapter-data"},"line":1,"column":0,"name":"->0 in file/var/home/ec2-user/rgn' at line 1"},{"id":1,"source":{"name":"bashdb","path":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":102,"column":0,"name":"##1 source(\"/var/home/ec2-user/rgn\") called from file
/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102"},{"id":2,"source":{"name":"bashdb","path":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-10829\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-10829_in\", \"--library\", \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/var/home/ec2-user/rgn\") called from file/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}} To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"backtrace\n"}} backtrace To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"->0 in file
/var/home/ec2-user/rgn' at line 1\n"}} ->0 in file `/var/home/ec2-user/rgn' at line 1 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##1 source"}}1 sourceTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"/var/home/ec2-user/rgn\") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102\n"}}
("/var/home/ec2-user/rgn") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"##2 main"}}
2 mainTo client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-10829\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-10829_in\", \"--library\", \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/var/home/ec2-user/rgn\") called from file `/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-10829", "--tty_in", "/tmp/vscode-bash-debug-fifo-10829_in", "--library", "/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir", "--", "/var/home/ec2-user/rgn") called from file
/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0 To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}} 252781############################################################ To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file
/var/home/ec2-user/rgn' at line 1'\n"}} To client: {"seq":0,"type":"response","request_seq":7,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"rgn","path":"/var/home/ec2-user/rgn","sourceReference":0,"adapterData":"bash-adapter-data"},"line":1,"column":0,"name":"->0 in file/var/home/ec2-user/rgn' at line 1"},{"id":1,"source":{"name":"bashdb","path":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":102,"column":0,"name":"##1 source(\"/var/home/ec2-user/rgn\") called from file
/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 102"},{"id":2,"source":{"name":"bashdb","path":"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-10829\", \"--tty_in\", \"/tmp/vscode-bash-debug-fifo-10829_in\", \"--library\", \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\", \"--\", \"/var/home/ec2-user/rgn\") called from file/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}} From client: setExceptionBreakpoints({"filters":[]}) To client: {"seq":0,"type":"response","request_seq":8,"command":"setExceptionBreakpoints","success":true} From client: threads(undefined) To client: {"seq":0,"type":"response","request_seq":9,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}} From client: scopes({"frameId":0}) To client: {"seq":0,"type":"response","request_seq":10,"command":"scopes","success":true,"body":{"scopes":[{"name":"Local","variablesReference":57,"expensive":false}]}} From client: variables({"variablesReference":57}) To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Program stopped.\n"}} Program stopped. To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"It stopped after being stepped.\nNext statement to be run is:\n\tregion='us-gov-west-
1'\n"}} It stopped after being stepped. Next statement to be run is: region='us-gov-west-`1' To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"examine <$PWD> \n"}} examine <$PWD> To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"/var/home/ec2-user\n"}} /var/home/ec2-user To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"examine <$? # from . \"$_Dbg_script_file\"> \n"}} examine <$? # from . "$_Dbg_script_file"> To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"0 # from '. \"$_Dbg_script_file\"'\n"}} 0 # from '. "$_Dbg_script_file"' To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"252781############################################################\n"}} 252781############################################################ To client: {"seq":0,"type":"response","request_seq":11,"command":"variables","success":true,"body":{"variables":[{"name":"$PWD","type":"string","value":"/var/home/ec2-user","variablesReference":0},{"name":"$? ","type":"string","value":"0 # from '. \"$_Dbg_script_file\"'","variablesReference":0}]}} From client: continue({"threadId":42}) To client: {"seq":0,"type":"response","request_seq":12,"command":"continue","success":true} To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"continue\n"}} continue To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"Debugged program terminated normally. Use q to quit or R to restart.\n"}} Debugged program terminated normally. Use q to quit or R to restart. To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending TerminatedEvent"}} To client: {"seq":0,"type":"event","event":"terminated"} From client: disconnect({"restart":false}) To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"bash: line 1: 252782 Killed \"bash\" \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb\" --quiet --tty \"/tmp/vscode-bash-debug-fifo-10829\" --tty_in \"/tmp/vscode-bash-debug-fifo-10829_in\" --library \"/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir\" -- \"/var/home/ec2-user/rgn\"\n"}} bash: line 1: 252782 Killed "bash" "/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir/bashdb" --quiet --tty "/tmp/vscode-bash-debug-fifo-10829" --tty_in "/tmp/vscode-bash-debug-fifo-10829_in" --library "/var/home/ec2-user/.vscode-server/extensions/rogalmic.bash-debug-0.3.9/bashdb_dir" -- "/var/home/ec2-user/rgn" To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"Terminated\n"}} Terminated To client: {"seq":0,"type":"response","request_seq":13,"command":"disconnect","success":true}