IDE Source code line number
Posted: Thu Jun 16, 2022 6:40 am
Not sure if this is even possible, but does anyone know if the IDE source code line number is stored any where that could be referenced?
I am using the sys_web.Console.Log feature for some debugging, and would like to include the source code line number in my console output.
This was a trick used when debugging RPG, to output the source line number with other pertinent info to a file, and then I could quickly and easily see where the last executed command was, and in what sequence if the code was not exactly in top-down sequence (subroutine, etc.).
I am using the sys_web.Console.Log feature for some debugging, and would like to include the source code line number in my console output.
This was a trick used when debugging RPG, to output the source line number with other pertinent info to a file, and then I could quickly and easily see where the last executed command was, and in what sequence if the code was not exactly in top-down sequence (subroutine, etc.).