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 purpose of the steps outlined above is to generate a sample project for further analysis by the DevExpress Support Team. Additionally, creating a sample project can offer unexpected insights as to underlying cause/source of issue, giving you the opportunity to address the matter using existing DevExpress technical resources (Knowledge Base and Documentation).
#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