Re: [IronPython] Debugging IronPython script code

2008-10-14 Thread Rainer Worbis
gger.Break()) and then VS opens the script file Thanks for all the hints. Rainer Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Rainer Worbis Gesendet: Dienstag, 14. Oktober 2008 07:04 An: Discussion of IronPython Betreff: Re: [IronPython] Debugging IronPython script code

Re: [IronPython] Debugging IronPython script code

2008-10-13 Thread Rainer Worbis
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dino Viehland Gesendet: Montag, 13. Oktober 2008 18:03 An: Discussion of IronPython Betreff: Re: [IronPython] Debugging IronPython script code How is the filename specified in the Create call? Is it a full path? If you just open th

Re: [IronPython] Debugging IronPython script code

2008-10-13 Thread Dino Viehland
of IronPython Subject: Re: [IronPython] Debugging IronPython script code Now is't working partly - i used a app.config which apearently does not setup debugging right. What is not working is that I get only a disassembly - no source code attached. Is there something to setup before? Rainer

Re: [IronPython] Debugging IronPython script code

2008-10-12 Thread Rainer Worbis
g von Dino Viehland Gesendet: Montag, 13. Oktober 2008 07:15 An: Discussion of IronPython Betreff: Re: [IronPython] Debugging IronPython script code Oh, sorry, it looks like it needs to be a bool, not "true" in quotes... With that in mind this works for me: Dictionary options =

Re: [IronPython] Debugging IronPython script code

2008-10-12 Thread Dino Viehland
ython Subject: Re: [IronPython] Debugging IronPython script code No - i get the Call Stack showed below [Lightweight Function] > > Microsoft.Scripting.dll!Microsoft.Scripting.Runtime.OptimizedScriptCode.InvokeTarget(Microsoft.Linq.Expressions.LambdaExpression > code = &

Re: [IronPython] Debugging IronPython script code

2008-10-12 Thread Rainer Worbis
Re: [IronPython] Debugging IronPython script code If you right click in the call stack window and check Show External Code do you see the code then? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rainer Worbis Sent: Sunday, October 12, 2008 9:53 PM To: Discussion of IronPython Subj

Re: [IronPython] Debugging IronPython script code

2008-10-12 Thread Dino Viehland
Auftrag von Dino Viehland Gesendet: Sonntag, 12. Oktober 2008 21:21 An: Discussion of IronPython Betreff: Re: [IronPython] Debugging IronPython script code You can set DebugMode = true on a ScriptRuntimeSetup object. If you're using the Python class you can pass a Dictionary object to CreateRu

Re: [IronPython] Debugging IronPython script code

2008-10-12 Thread Rainer Worbis
Auftrag von Dino Viehland Gesendet: Sonntag, 12. Oktober 2008 21:21 An: Discussion of IronPython Betreff: Re: [IronPython] Debugging IronPython script code You can set DebugMode = true on a ScriptRuntimeSetup object. If you're using the Python class you can pass a Dictionary object to CreateRu

Re: [IronPython] Debugging IronPython script code

2008-10-12 Thread Dino Viehland
orbis Sent: Sunday, October 12, 2008 12:10 PM To: Users@lists.ironpython.com Subject: [IronPython] Debugging IronPython script code Hallo all, is there a possibility to debug IronPython code that is executed with ScriptSource.Execute or CompiledCode.Execute within VisualStudio? Setting breakpoin

[IronPython] Debugging IronPython script code

2008-10-12 Thread Rainer Worbis
Hallo all, is there a possibility to debug IronPython code that is executed with ScriptSource.Execute or CompiledCode.Execute within VisualStudio? Setting breakpoints in the python code will can be done by System.Diagnostics.Debugger.Break() - the code breaks but I don't know how to tell VS to