Message10577

Author zyasoft
Recipients latifrons, zyasoft
Date 2016-01-02.05:01:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451710913.22.0.349057538423.issue2448@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not certain which debugger you are referring to. There's really only one standard Python debugger, pdb. So trying out a simple test script:

print "Before pdb"
import pdb; pdb.set_trace()
print "After pdb"

this will break into pdb, at which point I can try looking at sys.path (contains site-packages) as well as 'site' in sys.modules.

In general, the site module - which adds site-packages to sys.path - is imported by default when Jython starts up, even when not used from the command line. This was a change as of 2.7.0. Such import can be turned off with the -S option (or equivalently, Options.importSite = False).
History
Date User Action Args
2016-01-02 05:01:53zyasoftsetmessageid: <1451710913.22.0.349057538423.issue2448@psf.upfronthosting.co.za>
2016-01-02 05:01:53zyasoftsetrecipients: + zyasoft, latifrons
2016-01-02 05:01:53zyasoftlinkissue2448 messages
2016-01-02 05:01:52zyasoftcreate