Beside the stack-trace and custom data, steps to reproduce can be added to bug reports. This can be very useful to reproduce the circumstances in which a bug appeared.😀
A common usecase for steps to reproduce is to track view / screen views, button clicks & other interactions of users, in order to better understand the path a user took through the app.
All steps are type / data pairs. For the types we provide some defaults like VIEW, BUTTON, INPUT. If none of them suit your needs, you can still use any custom string as type description.
The following example explains how to track a step to reproduce.
[BugBattle trackStepWithType: BugBattleStepTypeView andData: @"DemoView"];
BugBattle.trackStep(withType: BugBattleStepTypeView, andData: "DemoView")
As you can see, the step is displayed in the dashboard:
Feel free to reach out to us, if you need help! We are always here to help! 👋