ExitCode not reset to zero after running
Original Reporter info from Mantis: mftq75
-
Reporter name: C Western
Original Reporter info from Mantis: mftq75
- Reporter name: C Western
Description:
The ExitCode for the gdb debugger is not reset to 0 on re-running a program
Steps to reproduce:
Run a program with debugging that returns a non zero exit code (say 7)
- IDE displays exit code as 7
Alter program to return zero exit code and run
- IDE still displays exit code as 7
On restarting the IDE and re-running the program the exit code is not displayed, as expected.
Additional information:
Presumably TDebuggerIntf.SetExitCode(0) needs to be called at a strategic point.
Mantis conversion info:
- Mantis ID: 38080
- OS: linux
- Platform: x864_64
- Version: 2.0.9 (SVN)
- Fixed in version: 2.2
- Fixed in revision: 64154 (#fbbe9f55)
- Target version: 2.2