snoop exist in a for loop after 10 iterations
Open
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
I am using snoop and its very useful
I have a list variable of 20k items. I just want to see the tracing for few iterations only.
```
@snoop
def mapping(inputlist):
testing = {}
for eachDict in inputlist:
for k, v in eachDict.items():
testing[k] = v
# <------- want to exist snoop after 5 iterations
# <------- want to exist snoop after 10 iterations
return testing
```
HOw can i achieve the above thing
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.