locked
How to get the line number of the code being executed RRS feed

  • Question

  • User-210349027 posted

    I am new to Iron Python and .Net Programming. Please help me in this.

     I have to display the line number and the file name of the code written in Iron Python. As per my knowledge Iron Python gives the line number only when an exception occurs.

    Is there any way to get the line number and file name from the stack even if there is no exception ?

     

    Wednesday, November 12, 2008 11:36 PM

Answers

  • User1641955678 posted

    Please note that this forum is specifically for discussing issues that relate to the use of IronPython in ASP.NET.  For general IronPython issue, please check out the Codeplex site, which explains how to join the discussion list.

    thanks,
    David

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 18, 2008 4:19 PM