- changed status to open
mac IDE hangs if a function is too large
Issue #512
resolved
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)
-
repo owner -
repo owner A quick fix will be in the upcoming pilot release.
-
repo owner - changed status to resolved
- Log in to comment
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.