Author Topic: mcStudio becomes unuseable if I add accelerometer library due to lag/stutter while navigating code.  (Read 53 times)

babramovitch

  • Newbie
  • *
  • Posts: 9
    • View Profile
I'm trying to start writing things beyond a blinky example, and the moment I add the accelerometer library into my project, everything becomes so slow and stuttery I  practically can't do anything at all, and it usually freezes while trying to push to the device.

Typing this line of text

won't even start showing text until I've typed all of that out.  Pressing return could take 0.5-3 seconds to respond.  Moving my cursor to a new line takes seconds.

My Blinky Program working perfectly on it's own, navigating the code and adding new lines works smoothly.

Class Blinky
    Shared Event GreenLed() RaiseEvent Every 300 milliSeconds
        LedGreen = Not LedGreen         
    End Event
End Class

Adding https://github.com/NickWaterton/mcScript/tree/master/libraries/accelerometer/lis2dh12 as a new file and it's stutter / freeze  / failed runs mania

I believe it's trying to detect any problems with my code structure and it gets worse and worse the more content there is?

The actual cursor in studio stops flashing every time this happens

How can I solve this?  If it's this stuttery and laggy and freezy as more files get added I can't practically write or debug anything.

« Last Edit: September 29, 2017, 05:24:00 pm by babramovitch »

Social Buttons


mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
You can switch over to manual compiling. It is in project properties

babramovitch

  • Newbie
  • *
  • Posts: 9
    • View Profile
Sweet, that's stopped the stuttering.  When I get a chance to test further I'll see if the semi frequent app freezing that occurs when running stops as well, but that could be an entirely separate issue.

Any idea when the stutter issue will be resolved?
« Last Edit: October 02, 2017, 04:01:19 pm by babramovitch »

mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
We have it solved it but I don't know when it will be released.