Open tablatronix opened 6 years ago
using osx today, also looking pretty good and stable.
Does serial monitor log to a temp file, or it is just a buffer?
Can you add a timestamp to the end of the deviot console when done with stuff
Yes I can, I did that in the past for the same reason. When I rewrite the code I forgot to added again.
Does serial monitor log to a temp file, or it is just a buffer?
It's just a buffer, but wouldn't it be a problem to be stored in a file. Do you want this for the trace decoder?
Yes I figured I can run external stuff on it in real time if so, without hooking into ST to do it.
I have been using the ST log highlighter plugin for coloring the terminal, serial ports and live log files, its pretty powerful.
Excelent. Maybe I can log only the backtraces and exceptions, that way would be easy
That might be too specific for other uses, unless you were adding specfic debug save to file feature maybe with regex i guess.
That might be too specific for other uses, unless you were adding specfic debug save to file feature maybe with regex i guess.
Yes, it's a good idea, I don't know how many people will need that feature, but maybe will be good to have it
I've added the End timestamp
and the errors inline
feature. Cancel process has a lot of work to make it work, I'll let for next release.
let me know if you find any problem
only thing i noticed is that serial terminal takes a long time now to start back up ( as in after upload), even adding a 5000 delay, i miss the boot sometimes.
You mean, when you are using the serial monitor, uploads your firmware and the monitor starts again?
Yup
I think auto clean broke, on osx i have 77k lines
good catch, fixed
protip, at 77k lines it just stops apparently, lol i cleared it and it started printing away again
time to be picky lol
========================= [SUCCESS] Took 10.40 seconds =========================
================================== [SUMMARY] ==================================
Environment esp32doit-devkit-v1 [SKIP]
Environment nodemcuv2_dev [SUCCESS]
========================= [SUCCESS] Took 10.40 seconds =========================
[Fri Feb 16 22:54:43 2018]
success is displayed twice with same timestamp, remove one, and the 2 empty lines and you get 3 more lines of info in a smaller panel... just saying... lol
still seems pretty stable, and running well all around.
Loving this version so far.
serial takes too long to start
I'll have to check this when I have a osx device on my hands, there is not a deliberate delay in that part of the code, but I'll check it later to reduce it somehow
protip, at 77k lines it just stops apparently, lol i cleared it and it started printing away again
Did you try that after the fix? the bug was causing an error, so is possible it was causing the stop
success is displayed twice with same timestamp, remove one, and the 2 empty lines and you get 3 more lines of info in a smaller panel... just saying... lol
It's displayed by PIO. Maybe the best solution is to add the regex filter (thinking in the debug tool too) and remove it, I'll let it to the next release
I will retest, Is it possible to set global environments somewhere? Does pio check for ini files along some path?
I will retest, Is it possible to set global environments somewhere?
Global environments for compile? or to do what?
Does pio check for ini files along some path?
In Deviot the ini file will be checked in the same path where the sketch is stored, also in the parent folder or in the system temp\deviot
folder
Normally PIO Core will search the platformio.ini
in the current working directory but you can change this with --project-dir
More Info
Yeah like if i create a new file, can it just use some global environments as in platformio.ini files in heirarchy and create the ini file for me for example. I probably use pio completely wrong, but that is exactly why I use deviot, its not annoying like the atom IDE where you have to have strict projects , i just want to throw a file together, select board, compile and have a new platformio.ini and be running. It kind of works already like this, but I thought platform io might be able to grab ini files along the path to the file.
Maybe you can use my python library to read and write ini files: https://github.com/gepd/ReadConfig I started that library to work with PIO, it's really easy to use. If you are working with ST, you shouldn't have any problem, it's used by Deviot too
I noticed my .cpp file shave a deviot syntax, not c++, and my autocomplete doesn't work well. If i change it to c++ it works properly and shows my classnames and methods etc. Is that fixable? I do like the deviot syntax better
I figured out the problem with the console, its not those extra lines, it is that it seems to scroll past the buffer leaving lots of empty space and I can never see the output as well.
I think it did not do that before. id have to rollback to be sure.
Also can
Error:
and [ERROR]
be syntax scoped ?
I noticed my .cpp file shave a deviot syntax, not c++, and my autocomplete doesn't work well. If i change it to c++ it works properly and shows my classnames and methods etc. Is that fixable? I do like the deviot syntax better
I'll check how to improve this, can you give me an example to reproduce that diference?
I figured out the problem with the console, its not those extra lines, it is that it seems to scroll past the buffer leaving lots of empty space and I can never see the output as well.
Yes I'm using a new method to scroll lines in the console, what you can do is set the scroll_past_end
option to false
in the ST settings
Error:
and[ERROR]
be syntax scoped ?
In don't see where is Error:
but anything in the console can be syntax scoped
I also fell like the console syntax need a lot of work, I'll start to make some changes this week
Seems a lot of terminal stuff is in this thread, but one annoyance is the creation of a new pane when "Hide Terminal" is selected:
https://www.screencast.com/t/wTTJOtCIemy
Opened #255 for this, but figured would post here since might be relevant
I noted this similar in #254 never noticed it on hide though
The new commits issues.
Ill just post them here before creating a bunch on new dev issues.
terminal /serial select all during update
Windows The deviot terminal and serial monitor text gets selected all(highlighted) when it is running. It is very odd. as it updates all the text highlights and stays selected.