[IronPython] Problems with Iron Python Studio

Jimmy Schementi Jimmy.Schementi at microsoft.com
Tue Jun 24 15:28:01 PDT 2008


That's really the only "IronPython debugging" solution, unless there's some other IDE that supports .NET debugging (MonoDevelop?).

~js


On 6/24/08 3:22 PM, "Michael Stephens" <falcon at uwyo.edu> wrote:

My main reason for using Irony Python is that break points will get hit.  Do these other IDE's support break points.

We are using the embedded PythonEngine class.  I found that if you launched our application from VS it would attach the debugger and actually debug our python code even though its hosted internally.  If there is another solution please let me know.

Michael Stephens

Electrical Engineering Graduate Student
University of Wyoming
falcon at uwyo.edu or 89iroc at gmail.com

On Tue, Jun 24, 2008 at 4:16 PM, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
Michael Stephens wrote:
It looks like the *only* way intellisense will pickup is if everything is in one file.  A moderate workaround except for the lack of class navigator+function navigator

You are likely to find the intellisense in Python IDEs like Wing and Komodo much better. They don't have Windows Forms or WPF designers though. You can still use Visual Studio / IronPython Studio to do your code generation - although I intensely dislike the code that IronPython Studio generates.

Some Resolver One developers have an odd penchant for Vim as an IDE, which has intellisense of sorts...

Michael Foord


Michael Stephens

Electrical Engineering Graduate Student
University of Wyoming
falcon at uwyo.edu <mailto:falcon at uwyo.edu> or 89iroc at gmail.com <mailto:89iroc at gmail.com>

On Tue, Jun 24, 2008 at 3:56 PM, Michael Foord <fuzzyman at voidspace.org.uk <mailto:fuzzyman at voidspace.org.uk>> wrote:

    Michael Stephens wrote:

        I should be able to just say
         dbg("test") should present intellisense at least for what dbg
        takes as an argument.


    "import" in Python is not the same as the C# using directive. If
    you do the following:

    import RT

    Then you can only access members of the RT module using:

    RT.attribute

    and you said that worked?

    If you want to be able to just type dbg("test") then you would
    need to do something like:

    from RT import dbg

    You can only use names you have specifically imported. I have no
    idea how good the IronPython Studio intellisense is though.

    Michael Foord


        Michael Stephens

        Electrical Engineering Graduate Student
        University of Wyoming
        falcon at uwyo.edu <mailto:falcon at uwyo.edu>
        <mailto:falcon at uwyo.edu <mailto:falcon at uwyo.edu>> or

        89iroc at gmail.com <mailto:89iroc at gmail.com>
        <mailto:89iroc at gmail.com <mailto:89iroc at gmail.com>>



        On Tue, Jun 24, 2008 at 3:49 PM, Curt Hagenlocher
        <curt at hagenlocher.org <mailto:curt at hagenlocher.org>
        <mailto:curt at hagenlocher.org <mailto:curt at hagenlocher.org>>>

        wrote:

           I don't understand from your description what you expect to
        see in
           "Problem 2".

           On Tue, Jun 24, 2008 at 2:35 PM, Michael Stephens
        <falcon at uwyo.edu <mailto:falcon at uwyo.edu>
           <mailto:falcon at uwyo.edu <mailto:falcon at uwyo.edu>>> wrote:

               I have two instances where I can't get intellisense to
        work.        Is it something I am doing or something wrong
        with Python
               Studio.  I have attached a generated project.
                       Problem 1:
                 I can't access base class methods
               Problem 2:
                 I can't access things declared in RT.py despite
        importing it..
                 The closest that that will work is
                   import RT
                   RT.dbg()// intellisense works! but i shouldnt need
        to call
               RT directly
                       Any help would be appreciated.

               Michael Stephens

               Electrical Engineering Graduate Student
               University of Wyoming
               falcon at uwyo.edu <mailto:falcon at uwyo.edu>
        <mailto:falcon at uwyo.edu <mailto:falcon at uwyo.edu>> or

        89iroc at gmail.com <mailto:89iroc at gmail.com>
               <mailto:89iroc at gmail.com <mailto:89iroc at gmail.com>>


               _______________________________________________
               Users mailing list
               Users at lists.ironpython.com
        <mailto:Users at lists.ironpython.com>
        <mailto:Users at lists.ironpython.com
        <mailto:Users at lists.ironpython.com>>

                      http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



           _______________________________________________
           Users mailing list
           Users at lists.ironpython.com
        <mailto:Users at lists.ironpython.com>
        <mailto:Users at lists.ironpython.com
        <mailto:Users at lists.ironpython.com>>

           http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


        ------------------------------------------------------------------------

        _______________________________________________
        Users mailing list
        Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
        http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



    --     http://www.ironpythoninaction.com/
    http://www.voidspace.org.uk/
    http://www.trypython.org/
    http://www.ironpython.info/
    http://www.theotherdelia.co.uk/
    http://www.resolverhacks.net/


    _______________________________________________
    Users mailing list
    Users at lists.ironpython.com <mailto:Users at lists.ironpython.com>
    http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


------------------------------------------------------------------------

_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080624/dbb40589/attachment.htm>


More information about the Users mailing list