This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Using this package one can enable a hook in the python pdb such that the current file is automagically opened in MacVim and the line is highlighted.

Features

  • Activates MacVIM, uses new tab to open debugged file
  • reuses existing MacVIM instance
  • after loading the file, the terminal program is activated (given focus) to allow for rodent-free debugging.
  • The focus-switching is done using appscript which is a python package for AppleScript.

Dependencies

  • Mac OS X (duh)
  • MacVim (or another gui-enabled VIM which understands the VIM server commands – currently only MacVIM)

Usage

  • install this package

  • put something like this in your ~/.pdbrc:

    # save this in .pdbrc in your home directory
    from vimpdbhook import preloop, precmd
    pdb.Pdb.preloop = preloop
    pdb.Pdb.precmd = precmd
    
  • make sure that you have also installed the mvim command line utility for firing up macVIM using the terminal.

  • Currently, I assume that you use “iTerm” and use a variant of mvim called vimpdb (that’s my setup). Please see below.

Tweaking

The package uses the environment to fetch the name of the terminal app and the MacVIM launch script

VIMPDBHOOK_MVIM_SCRIPT
Set this to your mvim script. default: vimpdb
VIMPDBHOOK_TERMINAL_APP
Set this to the name of the terminal application. default: iTerm

Download

Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
vimpdbhook-0.2.tar.gz (2.6 kB) Copy SHA256 Checksum SHA256 Source May 28, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting