2009-07-01 37 views
1

我知道我可以在VisualStudio中設置斷點並調試獨立的IronPython腳本。但是,我有一個託管IronPython引擎的應用程序。如果我想調試在託管引擎中運行的腳本,是否有方法設置斷點並逐步執行腳本?我應該使用ExecuteFile以外的方法來完成此任務嗎?基本上我想將調試器附加到進程中,在ExecuteFile處中斷,然後遍歷IronPython代碼。託管的IronPython腳本中的斷點

// engine is the hosted IronPython engine and script is the .py file to execute 
engine.ExecuteFile(script); 

編輯:我相信這是一個Debugging IronPython scripts in hosted (embedded) environment傻瓜。在發佈我的問題之前無法找到這個。繼續並關閉這一個。

回答