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

Tracing/coverage of include files reports wrong file during module init #2882

Open
scoder opened this Issue Mar 3, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@scoder
Copy link
Contributor

scoder commented Mar 3, 2019

As noted in #1461 (comment), module init code in include files reports line traces for the file that contains the main module function, not for the include file. This is because the frame and code object for the module init function is only created and configured once at the beginning of the function, and points to the module file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.