I have started fixing bugs I come across by using the small test source code below.
I can do the following:1. set breakpoints
2. run to the first breakpoint3. Continue to the next breakpoint4. step to the next line
5. watch cTest
6. Expand the cTest in the watch window. Fixed a bug that limited the size to 100 in the original code
7. cTest updates between breakpoints or stepping to the next line is working. Fixed a bug that would stop updates after the 9th item.
#include <stdio.h>#include <cstring>
using namespace std;
int main()
{
char cTest[300];
memset(cTest, 0x00, 300);
// 00000000001111111111
// 01234567890123456789
strcat(cTest, "This is a char array");
strcat(cTest, "This is a char array");
strcat(cTest, "This is a char array");
strcat(cTest, "This is a char array");
strcat(cTest, "This is a char array");
strcat(cTest, "This is a char array");
strcat(cTest, "This is a char array");
strcat(cTest, "This is a char array");
strcat(cTest, "This is a char array");
strcat(cTest, "END END END END END ");
printf("Hello world!\n");
printf("Array: \n%s", cTest);
getchar();
return 0;
}
I am slowly making progress. If you cloned the repo or download the source zip over the last few days then I would advise updating your code as the code works allot better now and will continue to improve, so check the git repo for changes every few days.