Python 2.7 and XCode 4

Here’s a relevant link for setting up a project (I’m using it for cross-platform development, not PyObj-C): Python + XCode @ SO

For debugging you’ll probably have to go outside XCode, or figure out how to set Python debugging up properly. Supposedly LLDB has support, but in XCode you’ll get SIGTRAP when you run your program. Personally I think I’ll debug outside XCode, then figure out how to set up LLDB+Py+XCode4 if and only if I have so much debugging that running from another environment becomes a chore.

This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Robert Beverly
    Posted January 4, 2012 at 12:06 pm | Permalink

    Just a quick comment… I’m using the unittest and pdb modules for testing and debugging. If at one time I had a strong desire to use LLDB, that desire has faded away. Similarly, I don’t find myself setting up XCode projects for my python scripts. A lot of the benefits of XCode are only benefits when you’re programming for iOS or OS X.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>