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

Troubles with script about 1K of lines/or 100K size. #22

Closed
belonesox opened this issue Jan 16, 2017 · 3 comments
Closed

Troubles with script about 1K of lines/or 100K size. #22

belonesox opened this issue Jan 16, 2017 · 3 comments
Labels

Comments

@belonesox
Copy link

belonesox commented Jan 16, 2017

I see troubles (hangs of debugger) with relatively small and trivial scripts
for example:
https://gist.github.com/belonesox/5bf3b1cbc3f1ae3b8ca26cf0e6168184
(1000 lines of comments).

raw bashdb works OK with it.

May be some hardcoded limits?

I wish to debug enourmous generated "configure" scripts (≈30K lines, ≈700K).

@rogalmic rogalmic added the bug label Jan 16, 2017
@rogalmic
Copy link
Owner

I can reproduce this with provided file.

There should not be any hardcoded limit set. This looks like some race condition in debugger vs UI startup (might be that some input/output gets omitted in parsing). Loading bigger file takes more time.

I will need to take a closer look at this when I have some free time...

@rogalmic
Copy link
Owner

rogalmic commented Jan 16, 2017

@belonesox : please try following version and post the results here:

bash-debug-0.0.4.vsix.zip

To install, run this in vscode:
code --install-extension ./bash-debug-0.0.4.vsix

@belonesox
Copy link
Author

belonesox commented Jan 17, 2017

Looks OK, thank you very much!
I tested it on 23K LOC sh file.

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

No branches or pull requests

2 participants