Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Attach source code to Jprofiler

I am new to using JProfiler. I am profiling remotely on an application. When iI click on show source for any object, it says "Source file could not be found in source path" as there are only binaries on remote machine. Is there someway I can link the source code. FYI, I have access to code which i can make use of.

like image 587
Raghav Pandya Avatar asked Jul 22 '16 14:07

Raghav Pandya


1 Answers

In JProfiler's main menu, select "Session->Session Settings" (while the session is running). On the "Application settings" tab, select the "Source path" radio button and add your source roots to the list on the right side.

enter image description here

like image 169
Ingo Kegel Avatar answered Oct 11 '22 15:10

Ingo Kegel