debugging Applications with Director.ini

Source: Internet
Author: User
Tags ini

This article describes how to use the Directro.ini file to debug a project program or Shockwave Movie. When we are debugging the program in the Director programming environment, we can see the type of script error, however, when our program runs in the. exe or Shockwave movie, we don't see the detailed error message. What we see is just a few hints like the following: "Script Error,continue?" Wait This will increase the difficulty of debugging the application when the error occurs. Director.ini file can help solve this problem, using the Displayfulllingoerrortext command, we can be the program even in the case of the. exe or Shockwave movie, you can still see the wrong detailed report. The method is as follows:

1, we can first find Director.ini file, this should be very easy!

2, then we can open this file, with Notepad program to open it, and then we use his search character function, to find displayfulllingoerrortext this keyword.

3, if there is no accident, we can see the following paragraph:

';D isplayfulllingoerrortext=1 ' will precede the '; ' Remove.

4, the following is divided into two branches:

If you are packaged as an. exe file:

Save the Director.ini file as the file name of the. exe file that you packaged. Change the suffix to. ini. Eg: if your packaged file is Myproject.exe, save the Director.ini file as a myproject.ini. The corresponding EXE file is placed in the same directory with the same path.

If you are packaged into Shockwave movie:

Save the Director.ini file as a shockwave.ini. Put it under your Shockwave folder OK. If you are window98 or 95, the Shockwave folder is located in: Windowssystemmacromedshockwave.

If you are windwo2000 or NT, the Shockwave folder is located at: Windowssystem32macromedshockwave.

5, OK, now you are running your program, take a look, is not a detailed error prompted (of course, your program to write good, no errors, of course, there is no error prompted).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.