Skip to main content
Participant
Dec 22, 2008 5:19 PM UTC
Question

Troubleshooting Mac Extension Javascript errors

I am trying to move a Dreamweaver extension that works without issue on Windows to the Mac platform. We are getting a very 'vague' Javascript error:
While executing onLoad in myprogram.htm, a JavaScript error occurred.

Any ideas on how to effectively troubleshoot such an error. There is no hint to the syntax of the error causing the problem, the approximate specific error, or even the line # of the offending error. I found this Tech note....but its not much more helpful. http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19105

Anybody tried moving extensions from Windows to Mac before who might have some hints?

Thanks.
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
Dec 22, 2008 11:36 PM UTC
codeaholic,

Start by performing step #4 from the TechNote to make sure it's a real
code error.

After that, start putting alert() statements in your onLoad() function
to narrow the error down to a particular line.

HTH,
Randy


> I am trying to move a Dreamweaver extension that works without issue on Windows
> to the Mac platform. We are getting a very 'vague' Javascript error:
> While executing onLoad in myprogram.htm, a JavaScript error occurred.
>
> Any ideas on how to effectively troubleshoot such an error. There is no hint
> to the syntax of the error causing the problem, the approximate specific error,
> or even the line # of the offending error. I found this Tech note....but its
> not much more helpful.
> http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19105
>
> Anybody tried moving extensions from Windows to Mac before who might have some
> hints?
Translate