Bridge Commander Central
BC Forums => BC Scripting => Topic started by: gtillmon on February 19, 2009, 08:43:31 PM
-
Hi.
I would like to know if there is a way to create a file of all the modules that are called and put them in a file?
I use the consoletracker.py, but it is showoing some errors but it does not specify which module is being called.
Thanks
-
I'm not entirely sure why you would want to know this.
Any method is inherently flawed because it won't affect the executable (part of the .exe) side of things, and the executable will also call out to several modules.
Generally speaking, an error is tracked from the moment it occurs all the way to the top most place of invocation, in all cases this ends at the executable, in the end it always does.
But, all the modules that are loaded can be found in the modules dictionary in the sys module.
-
I want to know this because I keep getting messages like: attribute error.
I want to track htem down and fix them.
-
I think I fixed most of them. But they are on another PC ATM.
Aside from that, they can't mess things up. And it's the executable directly calling those functions.