# SDK Debug View

{% content-ref url="/spaces/3UKy7VHRJWrNarYaMp13" %}
[Blippar Documentation Centre](https://docs.blippar.com/blippar-documentation-centre/)
{% endcontent-ref %}

The debug view can be added into your app's view hierarchy and help when debugging blipps. The view is intended to be full screen, so the logs can fill the screen.&#x20;

On iOS you should add the *BlipparSDKDebugView* into your view hierarchy (through interface builder or programatically).

On Android you should add *com.blippar.ar.android.sdk.DebugView* to your view hierarchy (through XML or programatically).

{% hint style="info" %}
The bottom of the debug view is tappable to slide the view up and down to reveal more options.
{% endhint %}

iOS and Android are largely similar, Android does not have the CPU overlay. It is intended to be added in an upcoming release. iOS screenshots have been used for reference, the style of Android is slightly different.

## **During Scanning**

By default the view is unexpanded and looks something like below:

![](https://support.blippar.com/hc/en-us/article_attachments/360000197267/0e7a95e9370aa06ceffe3dcefb5172fc120972fe04a478a6059528a7989cd0fb.jpeg)

This means that there is nothing 'locked' to the sideload folder (i.e. NOT SET).&#x20;

If you have sideloaded a blipp and it is currently locked against a marker (more on this below) then the view will look like below:

![](https://support.blippar.com/hc/en-us/article_attachments/360000197287/7f66f909c3e5d58864645dda87e2fae6b62baa28e09fe06476ddd041114b383a.png)

This means that the data is the sideload folder is 'locked' against the blipp with the address/hash of '31sun06nsq'. If you scan the blipp with this address then the scripts & data in the sideload folder will be used instead of the data downloaded from the server.

If you scan any other blipp then the server data is used for that blipp.

Sometimes you may want to lock against another blipp or marker. On tapping the 'Reset' button the view content will clear back to "NOT SET". The next blipp you scan will now be locked and you'll see it's hash/address instead. This blipp is now locked for use as for sideloading and all other markers will be using the server scripts & data.

{% hint style="info" %}
Sideloading will only happen if you have enabled the debugSideload option in the SDK
{% endhint %}

**In a blipp**

When you scan a blipp this section changes to display some statistics about the blipp in the debug view.

![](https://support.blippar.com/hc/en-us/article_attachments/360000197307/1f07140a7647af21644f2bc4e8d02f18b1a750fb43f8c4e7f362b8ebbf587f35.jpeg)

These stats have various pieces of data in them:

*FPS* - frames per second

*m* - model count

*drn* - models drawn

*v* - number of vertices

*T* - number of resources

*b* - number of bound textures

*ub* - number of unbound textures

*h* - number of texture handles

*Total Blipp memory in use in Mb*

*Anim* - number of animations

*Part* - number of particle systems

When the view is expanded you see the following:

![](https://support.blippar.com/hc/en-us/article_attachments/360000197327/f31e2cc304f0f29ebe7f1dae9d0a7d9428292535ec7dda3444334bafba7c80f6.jpeg)

When the view is expanded several debug options are revealed.&#x20;

*Log is OFF/ON* - toggles whether the debug log view is visible or not

*More...* - Reveals some more debug options

*Wht* - Change the debug log text to white. See below:

![](https://support.blippar.com/hc/en-us/article_attachments/360000197347/69010c92a6db38a45a8e22f0e1befbc96f2972db40f6442b3965b5d7ebc959c4.png)

*Red* - Change the debug log text to red

*Grn* - Change the debug log text to green

*Blk* - Change the debug log text to black. *Also changes the log background to white and makes the log text scrollable.  While in this mode you cannot click on anything within the blipp since gestures will be used to scroll the log text.  You need to put the log into one of the other modes to interact with the blipp once again.*

![](https://support.blippar.com/hc/en-us/article_attachments/360000197367/78af2e07ff73206828391ae376f05d394b1d90370d394e4cdfe82a48e6a663bc.png)

*Mesh Outline* - Displays wireframes indicating the outline of meshes in the blipp

*Hide Textures* - Disable rendering of textures, useful when viewing bounding boxes or mesh outlines

*Bounding Box* - Displays the bounding boxes of meshes in the blipp

![](https://support.blippar.com/hc/en-us/article_attachments/360000197387/615beaec72e6b509f16aa98e191f4e689cc343307e3af845679fa05bd214d1c6.png)

*Hotspots* - Displays hotspots active in the blipp (legacy feature)

*CPU Display* - A graph indicating CPU usage over time, note this value can go over 100% indicating multiple cores are being used

**Extra Developer Options**

![](https://support.blippar.com/hc/en-us/article_attachments/360000197407/0a2a1fecc72e45f49c2438871e1c0a9fa6349a59f1aeb67d00bb80088db8979d.jpeg)

*Copy log to clipboard* - Copies the content of the log view into the devices clipboard. Useful for emailing or pasting in elsewhere for further inspection

*Clear log* - Clear the logs on screen, useful when re-blipping

*Clear blipp cache* - Deletes cached blipp data from the server, forcing a redownload when scanning markers

*Clear sideload cache* - Deletes all the sideload data


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blippar.com/blippbuilder-app-sdk/debugging-utilities/sdk-debug-view.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
