首页
论坛
新职位
搜索论坛
什么是新的
新职位
新的个人资料帖子
最新活动
会员
目前的访客
新的个人资料帖子
搜索个人资料帖子
VB.NET社区
登录
寄存器
什么是新的
搜索
搜索
仅搜索标题
通过:
新职位
搜索论坛
Menu
Log in
Register
安装应用
安装
首页
论坛
C#
C#一般讨论
在C#中托管IronPyton和调试
您正在使用过期的浏览器。它可能无法正确显示此网站或其他网站。
您应该升级或使用
替代浏览器
.
回复主题
信息
<blockquote data-quote="Ravi Dhoble" data-source="post: 14271" data-attributes="member: 12258"><p>Hello,</p><p></p><p>I am working on building a GUI based script editor application (Thought of using <a href="//developers.google.com/blockly">blockly</a>) to get the python code from blocks. It's a combination of C# and IronPython. I am using IronPython as a background engine to execute python scripts created by the user. Below, the first screenshot shows the integration of IronPython in CSharp.</p><p>I can execute the script in one go and get the result at the end of execution in the console window but I want to control the flow of execution. I want to add a breakpoint, step into, step out etc operation while the py script is running (during runtime). For reference, here is the 2nd screenshot of NI TestStand software, in which the execution of the script is done step by step and the next step in the script waits for the previous step to execute completely. So, using IronPython API how can I implement debugging features? and Can I use Microsoft.Scripting.Debugger classes, to have a debugging option in my software?</p><p>I am new to C# and Python and learning along the way. So, I have searched a lot about attaching the debugger process but not sure how to implement it.</p><p>Few more queries -</p><p>1. Here, can I use PDB python debugger to implement debugging features in the IronPython?</p><p>2. How to attach the debugger to the IronPython engine?</p><p>3. I read about Microsoft.System.Diagnostic.debug classes or is there any other approach? Hope to get guidance from this community forum.</p><p></p><p>CSharp_IronPython_App-</p><p></p><p>[ATTACH=full]811[/ATTACH]</p><p></p><p>NI Teststand...</p><p>[ATTACH=full]810[/ATTACH]</p></blockquote><p></p>
Insert quotes…
验证
发表回复
首页
论坛
C#
C#一般讨论
在C#中托管IronPyton和调试
本网站使用Cookie来帮助个性化内容,调整您的体验并在注册时保持登录状态。
继续使用本网站,即表示您同意我们使用cookie。
接受
了解更多…
最佳
底部