# Pix

### Introduction

PIX is a program for debugging the graphical side of DirectX applications on the desktop. Since it works with desktop executables, it cannot be used to directly debug the graphics of non-desktop platforms such as iOS or Android. Despite this limitation PIX can be used on synced FlatRedBall projects to identify performance and memory problems common to all platforms.

### Running PIX

PIX can be found in the start menu. To debug an existing FlatRedBall app:

1. Select File->New Experiment
2. Use the "..." button to select the "Program path"
3. Click the "Start Experiment" button

Your program will begin running. PIX will add some information to your project to notify you that it is running: ![PixStats.PNG](/files/pMkSPJg9whw5Rav3fLJx)

### More information

PIX can be found in the DirectX SDK: <http://www.microsoft.com/en-us/download/details.aspx?id=6812> A walkthrough of PIX can be found here: <http://blogs.msdn.com/b/manders/archive/2006/12/15/a-painless-introduction-to-pix-for-windows.aspx>


---

# 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.flatredball.com/flatredball/tutorials/code-tutorials/flatredball-tutorials-pix.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.
