Home AMX Forum NetLinx Studio
Options

Max size of variable for debugging?

mpullinmpullin Obvious Troll Account, Marked for Deletion
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 AMX Wizard
    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 Obvious Troll Account, Marked for Deletion
    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 AMX Wizard
    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.