I need to use a debug function to check the results of a function call. Is there any way to determine the address of the end of the function from within a debug function (or any other way to determine that the function has or is about to return)? I can get the start address easily by using \module\function, but the end seems to be more elusive. The SCOPE directive gets me close in that it will allow me to hard code the end address, but I would rather be able to determine it at runtime so I don't have to update the debug every time I compile. Thanks