Author Topic: mcStudio sitting on "Debug: Running:"  (Read 31 times)

Bernstern

  • Newbie
  • *
  • Posts: 6
    • View Profile
mcStudio sitting on "Debug: Running:"
« on: June 14, 2017, 02:27:39 pm »
Just as the title says, I'm trying to set up losant for my mcmodule120s and when I got to deploy my code, mcStudio just sits on build and Debug Running.

Social Buttons


mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 251
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: mcStudio sitting on "Debug: Running:"
« Reply #1 on: June 15, 2017, 02:59:11 pm »
Hello,

Did you hit the 'Run' button? If so, this is the debugging feature and is not actually loading the code into Flash. Debugging works by running the code in RAM so that you can check on variables and ensure that your code is doing what you expect it to.

When you go to load code into the device, you need to 'Build' (compile) the code and then 'Load' it into the device. You can do this either using the toolbar buttons or by pressing F6 (Build) and F7 (Save and Load). You can also go to the 'Project' menu and select 'Build' and 'Load' functions.

Also, and yes this video is using an older version of mcStudio (We will be updating these videos soon!), check out this YouTube video on our channel to help you work with mcStudio:

https://youtu.be/QopVWn06CXY

Hope that helps!
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB