> For the complete documentation index, see [llms.txt](https://docs.flatredball.com/flatredball/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flatredball.com/flatredball/tutorials/code-tutorials/flatredball-tutorials-pix.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.flatredball.com/flatredball/tutorials/code-tutorials/flatredball-tutorials-pix.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
