Overview |  | Roles |  | Work Items |  | Views |  | Index |  | Glossary |

Project Portal
| ### Next Steps Create or Update a Unit Test Perform a Unit Test |
| Activity: Code the Fix for a Bug
Developer
|  |  |  | Fix a Bug |  |
|  | Participating Roles Responsible: Developer
### Overview When a developer determines the appropriate approach to fix the bug, the code must be changed to fix it. The developer must correct the problem in the bug description while not introducing any new bugs or breaking the build. # Entry Criteria When: The location of the bug is identified # Sub-Activities
1 | Retrieve Code | Retrieve all files that must be changed to fix the bug.
2 | Write New Code | Write code in new files to correct the problem.
3 | Write Code in Existing Code Files | Add or remove code in existing files to fix the problem.
# Exit Criteria
| All code required to fix the problem is integrated in the local copy of the source code.
| Changes in the local code to fix the bug are complete.
(C) 2005 Microsoft Corporation. All rights reserved. Build 97 |