Python debugging quirks
hmurray at megapathdsl.net
Thu Dec 15 04:41:10 UTC 2016
I think I figured out one contribution to my confusion.
When printing out a backtrace, it uses the text from the installed version
but it's actually running the local code.
[murray at hgm ntpclients]$ ./ntpmon ntp-wifi
Traceback (most recent call last):
File "./ntpmon", line 164, in <module>
File "/usr/local/lib/python2.7/site-packages/ntp/util.py", line 273, in
sys.stderr.write("DNS lookup ends.\n")
NameError: global name 'logfp' is not defined
I had modified that line.
These are my opinions. I hate spam.
More information about the devel