Skip to content

Replay not pausing at correct position in call stack for breakpoint #81

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

Open
nathggns opened this issue May 30, 2022 · 2 comments
Open
Labels

Comments

@nathggns
Copy link

Version

v14.17.6

Platform

Darwin Nates-MacBook-Air.local 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:36:53 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T8101 x86_64

Subsystem

No response

What steps will reproduce the bug?

As a possible workaround for #28 I used process.exit to exit my script as a desirable point. The command I used to run the recording is replay-node --exec ts-node ./src/index.ts .

How often does it reproduce? Is there a required condition?

Seemingly every time

What is the expected behavior?

Replay should pause at the specified breakpoint

What do you see instead?

Replay seems to be pausing at an unrelated breakpoint

Additional information

The replay I'm experiencing this bug on is https://app.replay.io/recording/replay-of-ts-node--2833115f-26fd-4160-8b1d-ec19f86d8d16

Replay of the bug occurring is at https://app.replay.io/recording/replay-misidentifying-where-to-pause-for-breakpoint--3668d82a-b2e6-49cd-a1cb-0ba103cdcd85

Reported on Discord at https://discord.com/channels/779097926135054346/798693728999047203/980889833998282792

Screen recording uploaded to Discord at https://discord.com/channels/779097926135054346/798693728999047203/980890518898753566

@bhackett1024
Copy link

I think this is fixed by #85, which is included in the latest released node. If you have a chance to confirm that would be great.

@gideonred
Copy link

This ticket has been moved to RUN-317

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

3 participants