Littlefoot log() didn't really show anything in the "BLOCKS Code" console


#1

I can display the integer with drawNumber(), but really want to use the Console instead of the LED display for debugging, is there any thing I missed before using the log() function ?

As it the “BLOCKS Code” mac App didn’t display anything, so the log() goes no where.

Please help.


#2

It seems like the log function is a little unstable at the moment but I was able to display values after a couple of script loads. You may need to reload the script and check/uncheck the interact and target checkboxes until it appears.

Thanks for pointing this out.


#3

Hi, was this fixed at all? Don’t seem to be getting any logging here on OSX. thx


#4

The issue should be fixed in the next release of Blocks Code.


#5

is there anywhere to make suggestions for the editor for some additional basic functionality or is this something that’s not intended to be enhanced and remain fairly basic? thx


#6

We are aware of the improvements needed in Blocks Code but it is safe to say that it is not currently at the top of priorities.


#7

If I could add a couple of (hopefully minor) suggestions for your consideration:

  1. When saving a project, use the last saved path location rather than starting from scratch
  2. Add a recent file/projects menu entry
  3. Allow code block indentation management with tab/shift tab.
  4. Provide a simple “#include” mechanism for importing code

thx

EDIT: Save and Save as for project appear to do exactly the same thing actually which may be a bug? Save project doesn’t retain the project name previously entered


#8

Is there another mechanism to log output while we await the update to Blocks Code? At the command line or some other low-level mechanism would be fine by me.