AI-102 · Question #270
Drag and Drop Question You are building a bot. You need to test the bot in the Bot Framework Emulator. The solution must ensure that you can debug the bot interactively. Which three actions should…
The correct answer is Run the bot app on a local host.; Use the input prompt object to send a trace activity.; Use the trace activity to create a new trace activity. To debug a bot interactively in the Bot Framework Emulator, you first run the bot locally on a localhost so the emulator can connect to it without Azure deployment. You then use the input prompt object to send a trace activity, which allows the emulator to capture and display…
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- Run the bot app on a local host.
- Use the input prompt object to send a trace activity.
- Use the trace activity to create a new trace activity.
Explanation
To debug a bot interactively in the Bot Framework Emulator, you first run the bot locally on a localhost so the emulator can connect to it without Azure deployment. You then use the input prompt object to send a trace activity, which allows the emulator to capture and display internal state information. Finally, you use the trace activity to create a new trace activity, enabling step-by-step interactive debugging by surfacing additional diagnostic data in the emulator's inspector panel.
Topics
Community Discussion
No community discussion yet for this question.
