Python Intro - ipdb debug install


1. build and install setuptools

1.1 download setuptools

      setuptools-15.0.tar.gz

1.2 unzip setuptools

      tar xf setuptools-15.0.tar.gz

1.3 install setuptools

      python3 setup.py install


2. build and install ipython

2.1 download ipython

      ipython-3.1.0.tar.gz

2.2 unzip ipython

     tar xf ipython-3.1.0.tar.gz

2.3 install ipython

      python3 setup.py install


3. build and install ipdb

3.1  download ipdb

     git clone https://github.com/gotcha/ipdb.git ipdb

3.2  install ipdb

     python3 setup.py install

3.3 run debug

      ln -s /usr/local/bin/ipdb3 /usr/bin/ipdb

      ipdb zpl.py


> /home/frank/workspace/python/zpl.py(3)<module>()
      2
----> 3 import ipdb;
     




你可能感兴趣的:(Python Intro - ipdb debug install)