Debugging Hosted DLR Scripts?

Discussion in 'Microsoft Dot NET Framework' started by jpuopolo, Apr 16, 2009.

  1. jpuopolo

    jpuopolo Guest

    Hi all,

    We are interested in hosting a language, e.g., IronPython, in our C#
    program so that our business users can express complex business logic
    in code. I understand how to host a script engine, etc. What I am
    curious about is this...

    Is it possible to create create a (rudimentary) debugger (or leverage
    an existing debugger) so that we can flag syntax errors, etc. in our
    script editing window? Does the scripting engine and/or DLR have debug
    access points, e.g., tells me if there is a syntax error and on what
    line it occurred, etc.? I'd prefer to do something like that vs.
    having the script simply fail when we try to programatically execute
    it.

    Thanks,
    John
     
    jpuopolo, Apr 16, 2009
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Guest

    Socket Connect problem in UserControl hosted in IE

    Guest, Jul 8, 2003, in forum: Microsoft Dot NET Framework
    Replies:
    2
    Views:
    2,809
    Chris Willis
    Jul 21, 2003
  2. LonGreat
    Replies:
    1
    Views:
    730
    Tom Jastrzebski
    Jul 21, 2003
  3. Guest
    Replies:
    3
    Views:
    880
    Perry Deng
    Aug 1, 2003
  4. Garry

    [BUG ?] Sockets and Hosted Controls in IE with .NET 1.1

    Garry, Sep 1, 2003, in forum: Microsoft Dot NET Framework
    Replies:
    0
    Views:
    354
    Garry
    Sep 1, 2003
  5. Olivier R
    Replies:
    0
    Views:
    246
    Olivier R
    Jan 30, 2004
  6. jr
    Replies:
    0
    Views:
    254
  7. John Smith

    Debugging windows service hosted remote classes

    John Smith, Feb 14, 2005, in forum: Microsoft Dot NET Framework
    Replies:
    0
    Views:
    265
    John Smith
    Feb 14, 2005
  8. Giulio Petrucci

    Questions about the DLR

    Giulio Petrucci, Aug 23, 2007, in forum: Microsoft Dot NET Framework
    Replies:
    15
    Views:
    381
    Jon Skeet [C# MVP]
    Aug 24, 2007
Loading...