• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

does FB have a way of determining caller of a function

Participant ,
May 30, 2011 May 30, 2011

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

Views

364

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 30, 2011 May 30, 2011

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines