I am trying to figure out what is calling my application for SEGFAULT and managed to track it down to a specific module. I set the trace within a specific module function:
def algorithm_wrapper(*args, **kwargs):
_version = version
if "Version" in kwargs:
_version = kwargs["Version"]
del kwargs["Version"]
algm = _framework.createAlgorithm(algorithm, _version)
pdb.set_trace()
_set_logging_option(algm, kwargs)
If I want to check the local variables _version and algm , I get the following error:
-> _set_logging_option(algm, kwargs)
(Pdb) _version
NameError: name '_version' is not defined
(Pdb) algm
NameError: name 'algm' is not defined
I am at a loss, this is the first time I find this error. Please, help!
source
share