Home AMX User Forum NetLinx Studio

Max size of variable for debugging?

Hey, I have my debugger open and I'm trying to change the value of a variable, and it appears to have worked, but the program is still behaving as though the variable is empty. When I opened my Diagnostics I see this:
Line 4 (09:36:27):: ICSPTCPRx35::ProcessICSPPacketRX checksum error MsgID=0251 (rx=00, expected=02) Cmd=0102
The variable that I am trying to change is a volatile CHAR array with max size 2000. If I change the size of the array to 20, it works as expected.

The packet needed by ICSP to change a variable from the debugger appears to have some maximum length or the checksum doesn't calculate properly. What is the cutoff size, I'm curious? Anyone know?

Comments

  • a_riot42a_riot42 Posts: 1,624
    mpullin wrote: »
    Hey, I have my debugger open and I'm trying to change the value of a variable, and it appears to have worked, but the program is still behaving as though the variable is empty. When I opened my Diagnostics I see this:The variable that I am trying to change is a volatile CHAR array with max size 2000. If I change the size of the array to 20, it works as expected.

    The packet needed by ICSP to change a variable from the debugger appears to have some maximum length or the checksum doesn't calculate properly. What is the cutoff size, I'm curious? Anyone know?

    Can you not pump in numbers to find the max?
    Paul
  • mpullinmpullin Posts: 949
    a_riot42 wrote: »
    Can you not pump in numbers to find the max?
    Paul
    I could, but I am busy writing a program and this issue came up, so I wanted to know if anyone already knew the answer.
  • a_riot42a_riot42 Posts: 1,624
    mpullin wrote: »
    I could, but I am busy writing a program and this issue came up, so I wanted to know if anyone already knew the answer.

    I am busy writing a program too...:)
Sign In or Register to comment.