Copy link to clipboard
Copied
hello;
I have a sizeable application built by others; I am currently doing some debugging.
I have a method of a class, but cannot figure out from where it is being called; the method is called 'init' so searching for that does not help as the return is fairly massive.
also searching for the class name returns a large return as well.
I am wondering if maybe there is a way to have FB find from where a method is being called.
thanks.
Shannon
Copy link to clipboard
Copied
Sure! Just put a breakpoint in that function, start the debugger and look in the Call Stack window when the breakpoint is hit.
Alternatively, you could throw a new Exception and look at the call stack in the error message.