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

Enabled Log Points are synced with runtime too late #137

Open
swissmanu opened this issue Dec 8, 2021 · 0 comments
Open

Enabled Log Points are synced with runtime too late #137

swissmanu opened this issue Dec 8, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@swissmanu
Copy link
Owner

swissmanu commented Dec 8, 2021

Version Overview

  • "RxJS Debugging for Visual Studio Code": 1.1.0

Description

Once the RxJS application starts, it might begin to emit values through an observable with enabled log points BEFORE the extension could sync the enabled log points to the runtime.

This results in missed logs.

How to Reproduce

const {of, map} = require('rxjs');

of(1,2,3,4,5,6).pipe(
  map(x => x*x) // Enable Log Point here
).subscribe(console.log)

Exchanging of with, e.g. interval does not have this problem. Assumption: Different scheduling?

Expected Behavior

No logs are missed, no matter how early an observable starts to emit.

@swissmanu swissmanu added the bug Something isn't working label Dec 8, 2021
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