[IronPython] Debug IP script embedded in c# application

Yongming wangym at gmail.com
Tue Oct 14 02:52:26 CEST 2008


Thanks,
The breakpoints works now after set debugMode="true".

But I can't watch the variable in the watch window.
When I try to watch a variable a after it was assigned.
a = 10
"The name 'a' does not exist in the current context"
It's the same for those variable set into the scope from my main
application.


On Oct 12, 11:49 pm, Dino Viehland <di... at microsoft.com> wrote:
> Did you set DebugMore = true on a ScriptRuntimeSetup object?  If you're using the Python class you can pass a Dictionary object to CreateRuntime with "Debug" = "true" and we'll set it for you.
>
>
>
> -----Original Message-----
> From: users-boun... at lists.ironpython.com [mailto:users-boun... at lists.ironpython.com] On Behalf Of Yongming
> Sent: Sunday, October 12, 2008 5:50 AM
> To: us... at lists.ironpython.com
> Subject: [IronPython] Debug IP script embedded in c# application
>
> Hello, I tried to extend my c# application with IronPython 2.0
> scripts.
> So an IDE was wanted to debug the scripts.
> I tried the ways Michael mentioned here, but it didn't work for me.http://tech-michael.blogspot.com/2008/07/i-was-charged-by-company-i-w...
> Did anyone tried his way, did it worked with IP 2.0?
> Or any other tools I can use to debug my scripts?
> _______________________________________________
> Users mailing list
> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> Users mailing list
> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com- Hide quoted text -
>
> - Show quoted text -



More information about the Ironpython-users mailing list