(self)
| 891 | self.lastException["lineno"] = lineno |
| 892 | |
| 893 | def toDict(self): |
| 894 | cap = {"root": self.root.toDict(), "detached": {}} |
| 895 | if self.lastException: |
| 896 | cap["lastException"] = self.lastException |
| 897 | for id in self.detachedFrames: |
| 898 | cap['detached'][id] = { |
| 899 | 'count': self.detachedFramesCount[id], |
| 900 | 'frames': [context.toDict() for context in self.detachedFrames[id]] |
| 901 | } |
| 902 | return cap |
| 903 | |
| 904 | |
| 905 | capture = None |
no outgoing calls
no test coverage detected