I'm working through the steps from Get Started with the ISV Customer Debugger and trying to get the Apex Debugger to set breakpoints for code from the managed package.
I've logged into the subscriber org from the LMA app where the originating user has the "View and Debug Managed Apex" system permission.
Dragging the debugging session details into Eclipse appears to have worked.
It's worth observing that this process was extremely slow and it appears to lockup the originating browser processes while attempts are made to pull down all the orgs metadata. But it did eventually finish.
In Eclipse I went through the steps to Set Up a Debug Configuration. Again, this appeared to work as I got what appears to be a debugging session.
However, any attempt to set an actual breakpoint in Eclipse fails as the options are disabled.
Trying "Enable/Disable Breakpoint" results in an Information message.
The chosen operation is not enabled
After which that option is grayed out.
Playing with the Tooling API I can see ApexDebuggerSession records with the Status of Active.
How do I get a breakpoint on Apex from my managed package?
I'm using:
- v4.6.3 of the Eclipse IDE
- v38.0.0.20170110588 of the Force.com IDE Debugger plugin
- v38.0.0.201701101558 of the Force.com IDE plugin
I've also got v39.6.0.v20170406-0039 of the Force.com IDE (Pilot) plugin
...\workspace\.metadata\.plugins\com.salesforce.ide.core\force-ide.log
. There were a number of Metadata API errors prior to trying to create the breakpoint. All around trying to pull details from packages that belong to other parties. There was nothing when trying to create the breakpoint. Do I need to adjust the logging level?