[Ironpython-users] How to watch the variables(global and local variable) value embedding in c# Code ?

何游鑫 heyx at evget.com
Sun Nov 15 21:27:47 EST 2015


Hi,
I'm using IronPython embedding in vs2012 with c# code. and I need to watch the Var's Value when the script is debugging? is the current Version IronPython support this ? if it suppord ,Is there any method which I can use ?or when the IronPython can support it ?

Could you please give me some help ? you can see my project there:[https://github.com/heyxEvget/IronPython-Debugger/tree/master/SoftWare]
I use this code:
engine.SetTrace(OnTraceback);
private void OnTraceback(TraceBackFrame frame, string result, object payload)
{
   switch (result)
   {
        case "call":
        TracebackCall();
        break;
        case "line":
        TracebackLine();
        break;
        case "return":
        TracebackReturn();
        break;
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20151116/b518d9c9/attachment.html>


More information about the Ironpython-users mailing list