BTP300B A2 Team 2 Bugs Report
Accomplishments
Week 2: Oct 13 - 19
- Wednesday: meeting and deciding what part each of the team members will do
Week 3: Oct 20 - 26
- Friday:
- All team members finished their coding tasks.
- Meeting in order to decide what will be the future steps.
- Future steps are:
- Due to segmentation fault during testing we decided that each of team members will test at home in order to find what causes the fault.
Week 4: Oct 27 - Nov 2
- Monday:
- The cause for the segmentation fault was found (will be presented in the bug report below).
- The fix was shared between team members using SVN for future testing and improving of the program.
- So far, our code compiles, executes, but the output we get does not looks exactly like required.
Bugs/Problems
Week 3: Oct 20 - 26
- Friday: The program can't call display function from consolelineedit.cpp (same problem with edit function)
Error #1:
cframe.cpp: In member function âvoid CFrame::display(const char*)â:
cframe.cpp:92:63: error: no matching function for call to âCFrame::display(const char*&, int, int, int&)â
- We put the functions of consolelineedit.cpp in namespace cio, so we have to specify it when we are calling the functions:
FIX:
cio::display(str, top_row + 1, l_most_col + 1, width_val);
Week 4: Oct 27 - Nov 2
- Monday: The code below causing segmentation fault.
- This line calls release function from consolebackup.cpp:
release((void**)message);
FIX:
release((void**)&message);
Week 5:
- Problem with moving function - Message didn't disappear after pressing the ESCAPE key. (fixed)
- The message from main program would disappear if the box would go over that line. (fixed).