Method Analysis of Debugging Diagnosis Does Not Support Drilldown for Nested Calls of Method Overloading
Symptom
- Log in to the APM console.
- Click
on the left and choose Management & Governance > Application Performance Management. - In the navigation pane, choose Application Monitoring > Metrics.
- In the tree on the left, click
next to the target environment. - Click the Debugging Diagnosis tab.
- Click Method Analysis. The Method Analysis page is displayed.
- Enter class name com.example.hello.helloController, select method name boy, and click Confirm.
- Click Drill Down corresponding to org.apache.http.impl.client.CloseableHttpClient.execute #-1.
- Click Drill Down corresponding to org.apache.http.impl.client.CloseableHttpClient.execute #108. The system does not respond.
Trigger Conditions
When method overloading exists (that is, multiple functions with the same name exist in the class and nested calls exists), only the first called method can be traced. That means if the system calls an execute method and then calls its nested execute method, the nested method cannot be drilled down.
Root Cause and Constraint
The watch and trace commands in the frontend do not specify overload method parameters. Therefore, accurate method information cannot be returned during debugging diagnosis. Only the information about the first method is returned. If a nested execute method is called, its information cannot be returned.
Debugging diagnosis does not support drilldown for nested overloaded methods.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot