Difference between revisions of "Team 3 Bugs Report"

From CDOT Wiki
Jump to: navigation, search
(Accomplishments)
Line 10: Line 10:
 
<u>''' Week 4 - Sept 23 - 29 '''</u>
 
<u>''' Week 4 - Sept 23 - 29 '''</u>
 
* Allocated memory for local copy of ''str'' in the '''edit()''' function. Memory allocated (by calling '''new''') was based on length of original string. After inserts into the local copy, memory was therefore corrupted and '''delete []''' was failing. The memory allocation was changed to be based on ''maxStrLength'' which is passed in to '''edit()'''. This fixed the problem.
 
* Allocated memory for local copy of ''str'' in the '''edit()''' function. Memory allocated (by calling '''new''') was based on length of original string. After inserts into the local copy, memory was therefore corrupted and '''delete []''' was failing. The memory allocation was changed to be based on ''maxStrLength'' which is passed in to '''edit()'''. This fixed the problem.
 +
* Was getting warnings from Borland compiler regarding the mixed use of signed and unsigned variables. This was fixed in the code.
 +
* cl command was giving a warning which was resolved with the use of the /EHsc option at the end of the command
 +
* After typing/deleting a character in the entry field, the screen was not updated properly. This was due to the fact that ''strOffset'' and ''curPosition'' were not incremented/decremented properly
 +
  
  

Revision as of 20:09, 27 September 2013

<-- Go Back

Bugs/Problems

Week 3 - Sept 16 - 22

  • forgot about using -lncurses so was getting multiple compile errors on Matrix


Week 4 - Sept 23 - 29

  • Allocated memory for local copy of str in the edit() function. Memory allocated (by calling new) was based on length of original string. After inserts into the local copy, memory was therefore corrupted and delete [] was failing. The memory allocation was changed to be based on maxStrLength which is passed in to edit(). This fixed the problem.
  • Was getting warnings from Borland compiler regarding the mixed use of signed and unsigned variables. This was fixed in the code.
  • cl command was giving a warning which was resolved with the use of the /EHsc option at the end of the command
  • After typing/deleting a character in the entry field, the screen was not updated properly. This was due to the fact that strOffset and curPosition were not incremented/decremented properly


Accomplishments

Week 3 - Sept 16 - 22

  • display() function has been completed.


Week 4 - Sept 23 - 29

  • overall structure for edit() was discussed
  • started coding some of the functions that edit() calls
  • majority of these functions have been completed
  • testing in progress
  • minor changes were made to function signatures after team review
  • testing is complete
  • finalizing comments before submission