PL-400 · Question #160
PL-400 Question #160: Real Exam Question with Answer & Explanation
The correct answer is A: Highlight the plug-in step and select Debug in the Plug-in Registration tool. 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
Question
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 solution. NOTE: Each correct selection is worth one point.
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
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.