Does anyone have a special technique for locating line #'s in scripts
with multiple "includes" when a error occurs showing the line #?
I'm working with one that has 7 and which script is having the issue.
Thanks
Gil
Finding Line Number after error
Moderators: JRL, Dorian (MJT support)
-
- Pro Scripter
- Posts: 132
- Joined: Mon Dec 22, 2008 4:56 pm
- Location: St Augustine FL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
The debugger is what I use. Step past each Include or put a breakpoint just before each include and when the include expands you can see the line numbers. Won't take long to determine which Include is in the range and then when it expands you'll see the line you're interested in.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?