# \*Using the Debugging Tools in Simulator

| Location | <p>Allows you to set the Core Location to be used by your app. Choose from the different location settings:</p><ul><li><strong>None.</strong> Does not return a location. Use for testing how an app responds when no location data is available. A simulated watchOS device asks the paired iPhone for the location.</li><li><strong>Custom Location.</strong> Allows use of a custom latitude and longitude.</li><li><strong>Apple.</strong> Uses the coordinates of the Apple Headquarters.</li><li><strong>City Bicycle Ride.</strong> Simulates a bike ride in Cupertino, CA. This item simulates the device moving on a predefined route.</li><li><strong>City Run.</strong> Simulates a run in Cupertino, CA. This item simulates the device moving on a predefined route.</li><li><strong>Freeway Drive.</strong> Simulates a drive through Cupertino, CA. This item simulates the device moving on a predefined route.<br></li></ul> |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

{% embed url="<https://www.youtube.com/watch?v=jReqV33QCPc>" %}

### Track finalize

Set location(Apple) after you end simulation drive and wait for 5 min + time for upload track. When sdk detects no move in 4 minutes it finalizes track and uploads data to server.

### Simulate track with next manual:&#x20;

1\. Setup app \
2\. Complete permissions wizard \
3\. Close app (don't delete) \
4\. Launch app \
5\. Start freeway drive at simulator \
6\. Set Apple position at simulator \
7\. Wait for DataHub increment for received tracks count and for increment processed or invalid tracks\
**If you want several trip - make it but at the end of last make this:** \
1\. Set Apple position at simulator \
2\. Wait for DataHub increment for received tracks count and for increment processed or invalid tracks \
**If tracks don't upload by the long time:** \
1\. Close app (don't delete) \
2\. Launch app, monitor trips on device and in DataHub\
**When you see permissions wizard your app has clean install without any data in storage.**
