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

kar-debugger: Incorrect breakpoint list when using #servers > 1 #348

Open
eaepstein opened this issue Sep 2, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@eaepstein
Copy link
Member

Depending on node version, npm version, package-lock file, and perhaps the phase of the moon, "vb" displays different things.
Given node 16.14.0 and npm 8.3.1 or 8.13.2, and the current repo state, fd3f3f6, temporary single-step breakpoints are not displayed.

@eaepstein eaepstein added the bug Something isn't working label Sep 2, 2022
@eaepstein
Copy link
Member Author

A more careful test was done comparing running all processes from cmdline vs running application and debugger in separate containers. Both scenarios used node v16 (16.14 vs 16.17).
For the command line scenario there is only one kar server running sidecar and application, and the debugger connects to that sidecar.
With separate containers, each has a sidecar, with the debugger connecting to the sidecar in its container.

** With two sidecars the debugger does not remove temporary breakpoints created to support single-step operations.

Connecting the debugger to a 2nd cmdline sidecar showed the same behavior
(kar run -app dp -v info -runtime_port 12333 /bin/bash sleep 999999)

@eaepstein eaepstein changed the title kar-debugger: Erratic behavior displaying breakpoints kar-debugger: Incorrect breakpoint list when using #servers > 1 Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant