PL-400 · Question #160
A company is developing multiple plug-ins. One of the plug-ins keeps failing. You need to debug the plug-in. Which three actions should you perform? Each correct answer presents part of the…
The correct answer is A. Highlight the plug-in step and select Debug in the Plug-in Registration tool C. Select Start Profiling in the Plug-in Registration tool E. Install the plug-in profiler. Step 1: Install plug-in profiler Because the plug-in executes on a remote server, you cannot attach a debugger to the process. The plug- in profiler captures a profile of an executing plug-in and allows you to re-play the execution of the plug-in using Visual Studio on your…
Question
Options
- AHighlight the plug-in step and select Debug in the Plug-in Registration tool
- BCopy the .pdb file into the server/bin/assembly folder
- CSelect Start Profiling in the Plug-in Registration tool
- DAttach the debugger to the w3wp.exe process
- EInstall the plug-in profiler
How the community answered
(38 responses)- A76% (29)
- B16% (6)
- D8% (3)
Explanation
Step 1: Install plug-in profiler Because the plug-in executes on a remote server, you cannot attach a debugger to the process. The plug- in profiler captures a profile of an executing plug-in and allows you to re-play the execution of the plug-in using Visual Studio on your local computer. Step 2: Start profiling 1. In the Plug-in Registration tool, select the (Step) BasicPlugin.FollowupPlugin: Create of account step, and click Start Profiling. 2. In the Profiler Settings dialog accept the default settings and click OK to close the dialog. Step 3: Debug your plug-in https://docs.microsoft.com/en-us/powerapps/developer/data-platform/tutorial-debug-plug-in
Community Discussion
No community discussion yet for this question.