Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bashdb not found #97

Open
lhk opened this issue Oct 31, 2018 · 1 comment
Open

bashdb not found #97

lhk opened this issue Oct 31, 2018 · 1 comment

Comments

@lhk
Copy link

lhk commented Oct 31, 2018

Executables

Version of bash-debug: 0.3.2

Version of Code:
1.28.2
7f3ce96ff4729c91352ae6def877e59c561f4850
x64

Executing the second command:

Linux vbox 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
---
/bin/bash
GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
---
bash: bashdb: command not found
---
/bin/cat
cat (GNU coreutils) 8.28
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund and Richard M. Stallman.
---
/usr/bin/mkfifo
mkfifo (GNU coreutils) 8.28
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.
---
/usr/bin/pkill
pkill from procps-ng 3.3.12

## Details
I'm trying to debug a simple script but as soon as I start the debugging, there is an error message:
Debug adapter process has terminated unexpectedly (read ECONNRESET)

It looks to me as if bashdb isn't found. But isn't that supposed to be included in the extension ?
The website says: _A bash debugger GUI frontend based on awesome bashdb scripts (bashdb now included in package)._
@rogalmic
Copy link
Owner

rogalmic commented Oct 31, 2018

Bashdb is integrated in extensions folder.

Please uninstall the marketplace version ad try installing manually ("Install from VSIX") version:
https://github.com/rogalmic/vscode-bash-debug/releases/tag/untagged-75ab034169eb5c9d1464

Try different terminalKinds in launch.json (integrated, external, debugConsole), also try changing your default console shell for project:

        {
            "type": "bashdb",
            "request": "launch",
            "name": "Bash-Debug (simplest configuration)",
            "program": "${file}",
            "showDebugOutput": true,
            "terminalKind": "integrated" 
        },

In any case, please provide output from debug console and terminal (if applicable).

EDIT: Just to be clear, bashdb does not need to be installed in system anymore...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants