Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
nehickel
Posted - 29 Jan 2010 : 19:39:02 Greetings,
During my attempt to debug the IMDB.COM(Rel.7).txt Script, I noticed that within the MagicScript Editor, the tab labeled Web Page only displayed the initial web page code returned on its initial search. That page happened to be a dynamic web page, which MagicScript then used to bring up the main content page where the MagicScript Editor then used as the Main page for everything else it did. It's that Main page that would be nice to see just as MagicScript Editor does.
While I'm aware of the Current Web Page Text field at the bottom of the MagicScript Editor window, that line of code exists in isolation, meaning that you don't know what was before it and what is coming up next. That ability to know where the editor is within the web page is extremely helpful in seeing if the editor is following the right path or the wrong one, as well as why things fail on a given web page.
The current workaround is a royal pain since you have to follow the variables and manually use a web browser to bring the web page(s). Then going into View Source mode to try to see the page as hopefully MagicScript is seeing it. That means flipping between windows to see what is happening and why. It makes debugging more difficult then it could be/should be.
A nice add on to the above request would be for the MagicScript Editor's Web Page view to also highlight each line of the web page code that MagicScript is working on. I realize this is a duplication of the field "Current Web Page Text" but this approach puts everything into one convenient place. This would also make it easier for people to better anticipate what's coming up and where they've already been.