I have a small ... a large problem with debugging a plugin.
The problem is this: the plugin in question is 847 lines of text long. When trying to install it I get 2 error screens. The first one (VBscript one) says that an instruction is expected at line 540. After closing that screen I get one in Muclient proper (the pinkish colored window with pluging parsing errors), that one says it has encountered a script error at line 327.
Now, I've tried scrolling directly to line 540 in the plugin, but there's no anywhere around there (which is what VBS is complaining about). Line 327 looks like the one with the tag. So I thought that maybe I need to find line 540 starting from line 327 :) But 327 + 540 = 867, which is greater than the total number of lines in the plugin.
I'd really hate to go line by line through the script, which is rather confusing, so maybe there exists a simple explanation for how lines are numbered in plugin files and how those numbers are referenced by the two error messages - the VBS one and Muclient one? In short - how do I find the actual number of the error line in the text file that contains the plugin from those error messages?
The problem is this: the plugin in question is 847 lines of text long. When trying to install it I get 2 error screens. The first one (VBscript one) says that an instruction is expected at line 540. After closing that screen I get one in Muclient proper (the pinkish colored window with pluging parsing errors), that one says it has encountered a script error at line 327.
Now, I've tried scrolling directly to line 540 in the plugin, but there's no
end if <script>I'd really hate to go line by line through the script, which is rather confusing, so maybe there exists a simple explanation for how lines are numbered in plugin files and how those numbers are referenced by the two error messages - the VBS one and Muclient one? In short - how do I find the actual number of the error line in the text file that contains the plugin from those error messages?