Recently we were brainstorming in our Team to see if it is in any way possible to get the current code line executed from the currently running *.xaml file.
XAML files which are the cornerstone of the UiPath builds, are of course nothing else but lines of code. When you have a closer look, those XAML files contain everything that you create / define / assign in your Studio.
Now to carry on with the thought, when you execute an XAML file, the internal UiPath Studio mechanism needs to know how to execute those lines. Therefore - as in any other programming language - it should be possible to get the currently executed XAML code line + it’s contents.
The need for this arose due to lack of certain information for e.g. during exception handling.
Any suggestions on how to get this, would be very much appreciated!