mac IDE hangs if a function is too large

Issue #512 resolved
Russell Owen created an issue

In the mac (standalone package) IDE v1.2.74 (Firmware v234) I find that the IDE hangs if a function is too large to send to the board. It shows the dialog box, but there is no way to dismiss it – clicking on the “OK” or the “X” icon does nothing. I have to force quit.

I see this when I drag the attached files onto the IDE. The function in question is “_edcmotors_driveMotorsToFollowTarget” in “Encoded DC Motors.ubl”

Comments (3)

  1. John Maloney repo owner
    • changed status to open

    The function “_edcmotors_driveMotorsToFollowTarget” in “Encoded DC Motors.ubl” is 944 bytes -- close to the 1000 byte limit for compiled code size of a single function. Since that is under the limit, the version you sent is not triggering the failure you describe.

    By adding a few lines of code, I was able to reproduce the problem.

  2. Log in to comment