Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ: Jump to source of calling method

Can I using debugger in IntelliJ check from where was called method (source call) ?

For example I have method public Object getSomething(int i) and I toggle breakpoint at this method. Debugger stoped and there is my question - Can I check from where was called this method ?

I am using OS X system on MacBook.

like image 229
CeZet Avatar asked Feb 23 '16 09:02

CeZet


1 Answers

You can use Ctrl+Alt+F7 to jump to the callers of the method.

(++F7 on MAC)

Edit: I think Ctrl+F7 (+F7 or +F7) will be helpful, this will take you straight to the caller of the function.

Edit2: Alt+5 (+5) pulls up the Debugger window where you can see all the previous calls made. There you can choose the caller of your method in question.

like image 191
Idos Avatar answered Oct 30 '22 01:10

Idos