Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro hangs/freezes best way to investigate
#1
OK so a macro which runs fine day after day suddenly freezes and hangs today for no reason?

What is the best way for me to find a trail and investigate what happened please?

Note I do not think I had logging enabled - so I guess there is none?

Does logging slow a very fast macro down ?
#2
There is no automatic logging.
To measure logging speed, use functions PerfFirst, PerfNext, PerfOut. Or look in Task Manager or Process Explorer or Process Hacker.
If function LogFile is too slow, use LogFileFaster: http://ftp.quickmacros.com/forum/showthr...&pid=30493
Or let the macro set a global variable in some places. When hangs, run a function to see its value. This is the fastest.
#3
OK thank you very much for your help


Forum Jump:


Users browsing this thread: 4 Guest(s)