WWO
Full Member
Posts: 21
|
Post by WWO on Mar 7, 2021 7:18:59 GMT
Could "RUN ACTION | DEBUG | EVENT LOG CLEAR" be created please?
Would be handy at the top of a script / when debugging.
i.e. equivalent to clicking the square 'CLR' button in the event log window.
|
|
|
Post by Steve on Mar 7, 2021 9:04:59 GMT
Yes. I'll look into this. I'm always keen to add in more debug actions.
|
|
|
Post by cyberchipz on Oct 14, 2021 17:59:27 GMT
I like this idea. I would like to add, if there was a quick way to click and add the lines either or ON or OFF, When I find a section that I need to debug, it's often very small, and just need to capture a few lines to examine, having to either type this by hand,or go into the add command, and there type it by hand is disruptive of the debugging process.
20 | RUN ACTION | DEBUG | EVENT LOG ON and
20 | RUN ACTION | DEBUG | EVENT LOG OFF Might I suggest the following also?
20 | RUN ACTION | DEBUG | EVENT LOG DISPLAY Which could be added immediately after a section of code to examine the event log without doing anything. Great in debugging. :-)
0 | RUN ACTION | DEBUG | EVENT LOG CLEAR 0 | RUN ACTION | DEBUG | EVENT LOG ON ... Code ...
0 | RUN ACTION | DEBUG | EVENT LOG OFF 0 | RUN ACTION | DEBUG | EVENT LOG DISPLAY::PAUSE (If it should auto pause Macro actions) 0 | RUN ACTION | DEBUG | EVENT LOG DISPLY without needing to specify it ::PAUSE would be great!
In fact, just like with Conditions, perhaps DEBUG actions could have their own section ... Add Entry Add Condition Add Debug Action > EVENT LOG CLEAR (Add whole line- ex: 20 | RUN ACTION | DEBUG | EVENT LOG CLEAR (& etc.) EVENT LOG ON EVENT LOG OFF ... ... EVENT LOG DISPLAY Add Remark ... etc.
That would be absolutely amazing! Although, the longer I use MMM, the less time I spend in debugging... the Named Variables, Line Labels, and a lot of new things really cut down on debug time! Unfortunately, I can't seem to eliminate debugging :-D
Chip
|
|