# XULMaker Project

## Troubleshooting

The following are some symptoms of a problem followed with a description of how to correct the problem.

### Application is "loading.." but is dead

The application screen appears and the Tree View says: "loading..." but the application is dead.

The XUL file has loaded but one of the script files hasn't completed loading, probably because of a syntax error in one of the scripts. This typically happens after having made a change to the script. In most circumstances it should be obvious where the error is - the place you made your last change. If this is not so obvious you may isolate where the change is by setting the `TRACE_LOADING` flag to true in the `xmSetting.js` file and re-launching the application. This will then step you through the individual script files as they load.

To isolate the problem further, cut and paste the following line:
`if(TRACE_LOADING){ alert("Continuing loading: xulmaker.js"); }`
, which appears at the bottom of the script file, to somewhere between some functions. Move this line and relaunch the application until you have isolated the problem.