Create a Reproducible Sample Project
- 2 minutes to read
As outlined in the DevExpress Support Services Policy, support engineers may ask you to create a sample project if/when an issue cannot be reproduced based on information submitted via the DevExpress Support Center. Your sample project should reproduce the issue reliably (the sample should not contain – or should minimize – unrelated business logic and components).
To create your sample project, you can use DevExpress Project Templates, demos, or examples as a starting point. Alternatively, you can follow the steps below to isolate the underlying issue in your project:
- Find a small code snippet in your sample project. It can be a function, a template, or a part of a component.
- Remove (comment out) the code and refactor it so that your project can be executed without errors. You can use IDE refactoring tools to simplify this process.
- Check if the issue persists. If it does, this means that the code snippet in question was unrelated to the issue.
- Repeat steps 1-3 until you cannot simplify your code further.
- Make certain that the sample project can be compiled and executed after all modifications.
The steps above can help isolate code-related issues (allowing you to search for code-specific solutions). If the sample project fails to isolate the issue, simply submit a new ticket DevExpress Support Center and attach your sample project for analysis.
Helpful Resources
Please refer to the following articles/documents for additional guidance:
- A Request for Simple Example Programs
- Stack Overflow: How do I ask a good question?
- Stack Overflow: How to Create a Minimal, Reproducible Example
- Simon Tatham: How to Report Bugs Effectively