MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / __push_params

Method __push_params

pydevd_attach_to_process/winappdbg/breakpoint.py:1311–1324  ·  view source on GitHub ↗

Remembers the arguments tuple for the last call to the hooked function from this thread. @type tid: int @param tid: Thread global ID. @type params: tuple( arg, arg, arg... ) @param params: Tuple of arguments.

(self, tid, params)

Source from the content-addressed store, hash-verified

1309 callback(event, *params)
1310
1311 def __push_params(self, tid, params):
1312 """
1313 Remembers the arguments tuple for the last call to the hooked function
1314 from this thread.
1315
1316 @type tid: int
1317 @param tid: Thread global ID.
1318
1319 @type params: tuple( arg, arg, arg... )
1320 @param params: Tuple of arguments.
1321 """
1322 stack = self.__paramStack.get(tid, [])
1323 stack.append(params)
1324 self.__paramStack[tid] = stack
1325
1326 def __pop_params(self, tid):
1327 """

Callers 1

__call__Method · 0.95

Calls 2

getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected