~ubuntu-branches/ubuntu/precise/fofix-dfsg/precise

« back to all changes in this revision

Viewing changes to src/scripts/TraceFoF.bat

  • Committer: Bazaar Package Importer
  • Author(s): Christian Hammers
  • Date: 2010-02-21 12:09:32 UTC
  • Revision ID: james.westby@ubuntu.com-20100221120932-6bh992d2u8dtj9gr
Tags: upstream-3.121
ImportĀ upstreamĀ versionĀ 3.121

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
call ClearCompiledPycs
 
2
 
 
3
rem Below traces execution in immediate window:
 
4
rem python -m trace --trace FoFiX.py
 
5
 
 
6
rem Below traces to a file (HUGE - to the tune of ~10MB / Second!)
 
7
del trace.log
 
8
rem python -m trace --trace FoFiX.py > trace.log
 
9
 
 
10
rem ...and ignores base modules
 
11
python -m trace --trace --ignore-dir midi --ignore-module iso8859_1 --ignore-module codecs --ignore-module utf_8 --ignore-module latin_1 --ignore-module string --ignore-module ntpath --ignore-module GL__init__ --ignore-module Numeric --ignore-module Precision --ignore-module ArrayPrinter --ignore-module pickle --ignore-module sre --ignore-module sre_compile --ignore-module sre_parse --ignore-module copy --ignore-module inspect --ignore-module dis --ignore-module opcode --ignore-module StringIO --ignore-module copy_reg --ignore-module color --ignore-module colordict --ignore-module cursors --ignore-module sprite --ignore-module sysfont --ignore-module socket --ignore-module os --ignore-module asyncore --ignore-module shutil --ignore-module threading --ignore-module new --ignore-module urllib --ignore-module urlparse --ignore-module nturl2path --ignore-module gettext --ignore-module fnmatch --ignore-module glob --ignore-module stat --ignore-module multisample --ignore-module __future__ --ignore-module GLU__init__ --ignore-module _exceptions --ignore-module handler --ignore-module xmlreader --ignore-module random --ignore-module amanith --ignore-module zipfile --ignore-module minicompat --ignore-module xmlbuilder --ignore-module minidom --ignore-module domreg --ignore-module locale --ignore-module colorsys --ignore-module getopt --ignore-module expatreader --ignore-module expat --ignore-module saxutils --ignore-module weakref --ignore-module NodeFilter --ignore-module FixTk --ignore-module Image --ignore-module ImageMode --ignore-module ImagePalette --ignore-module ImageFile --ignore-module BmpImagePlugin --ignore-module PngImagePlugin --ignore-module JpegImagePlugin --ignore-module PpmImagePlugin --ignore-module GifImagePlugin --ignore-module Config --ignore-module ConfigParser --ignore-module Svg --ignore-module Texture FoFiX.py > trace.log
 
12
 
 
13
rem Disabled "--ignore-module" statements:
 
14
rem 
 
15
 
 
16
rem Below stores line execution counts (only written after close - not good for crashes or hangs):
 
17
rem python -m trace -c -C traced FoFiX.py
 
18
 
 
19
 
 
20
cd scripts
 
21
call ClearCompiledPycs
 
22
pause