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.ย 

// Objetive-C
[BugBattle trackStepWithType: BugBattleStepTypeView andData: @"DemoView"];

// Swift
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! ๐Ÿ‘‹

Did this answer your question?