Forum Discussion
Stuck meaning it takes longer to run than the other log messages or stuck in that it never moves on?
What exactly are those particular log messages recording? Post them here please.
- ryan_perneel7 years agoContributor
sorry, the execution stalls. it is not always Log.Message. there are some .click calls that are slow as well.
the main one that stalls every time is this;
var xmlDoc = Sys.OleObject("Msxml2.DOMDocument.6.0");
xmlDoc.async = false;let path = ProjectSuite.Path + "OMITTED" + sXMLFile + "\\" + sXMLFile + ".xml"
Log.Message(path); <----this line- Marsha_R7 years agoChampion Level 3
Is sXMLFile a string? If not, that could be a problem.
Some other things to try to narrow down the issue:
1) Hard code the whole path and put it inside the Log.Message and see if it works without slowing down
2) See if Log.Message(ProjectSuite.Path + "OMITTED" + sXMLFile + "\\" + sXMLFile + ".xml") works without slowing down
- ryan_perneel7 years agoContributor
sXMLFile is a string (put a break before the offending Log.Message and it is the proper type)
hard coding the path did not help
if i omit this one log.message call, another one down the chain of execution will stall the execution.
I am assuming that no one else is experiencing this?
Related Content
- 7 years agoNisHera
- 11 years agogoogleid_104400
Recent Discussions
- 47 minutes agoDSmachineWorld
- 9 hours agoSvetaG