Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Add ptvsd modules to DONT_TRACE #169

Closed
int19h opened this issue Mar 5, 2018 · 3 comments
Closed

Add ptvsd modules to DONT_TRACE #169

int19h opened this issue Mar 5, 2018 · 3 comments

Comments

@int19h
Copy link
Contributor

int19h commented Mar 5, 2018

pydevd has a list of files that are excluded from tracing in pydevd_dont_trace_files.py. It's a dict, so we can add our own entries to it after loading that module.

@karthiknadig
Copy link
Member

Is this part of Just my code?

@int19h
Copy link
Contributor Author

int19h commented Mar 5, 2018

It would probably have to be done as part of JMC, but it looks like it might have some minor perf benefits outside of that, even if we just add hardcoded list of our .py files there.

@int19h int19h mentioned this issue Mar 12, 2018
@int19h int19h added this to the VS stable milestone Mar 12, 2018
@MikhailArkhipov MikhailArkhipov modified the milestones: VSC Public Preview, May 2018 May 2, 2018
@karthiknadig
Copy link
Member

@int19h Files in that list have pydevd_ prefix. We may need to put similar prefix ptvsd_ for that to work correctly, without out accidentally hiding users' files. What do you think?

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

No branches or pull requests

4 participants