mc-Studio > mc-Studio

mcStudio becomes unuseable if I add accelerometer library due to lag/stutter while navigating code.

(1/1)

babramovitch:
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.

mc-John:
You can switch over to manual compiling. It is in project properties

babramovitch:
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?

mc-John:
We have it solved it but I don't know when it will be released.

Navigation

[0] Message Index

Go to full version