Has anyone encountered crashing when they reloaded their tools/scripts? When I use my hotkey to reload my scripts ASP crashes out. It did this both with me launching ASP locally and over our network.
Unfortunately the crashing has now stopped but it was consistently crashing each time I reloaded my tools. I was doing some script testing so that's why I'm reloading.
Crashing when reloading scripts/tools
Moderators: Víctor Paredes, Belgarath, slowtiger
Crashing when reloading scripts/tools
My opinions and comments do not represent those of my employer.
http://www.ernestpchan.com
http://www.zazzle.com/gopuggo
http://www.ernestpchan.com
http://www.zazzle.com/gopuggo
- synthsin75
- Posts: 9979
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Crashing when reloading scripts/tools
Only if there is a fatal error in the script I'm working on.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Crashing when reloading scripts/tools
Thanks. The script itself seems to work because ASP stopped crashing after awhile when I reloaded with the same script. I'll chalk it up to gremlins until I can reliably reproduce.
My opinions and comments do not represent those of my employer.
http://www.ernestpchan.com
http://www.zazzle.com/gopuggo
http://www.ernestpchan.com
http://www.zazzle.com/gopuggo
- hayasidist
- Posts: 3526
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Crashing when reloading scripts/tools
a few good ways to crash AS:
- have a layer script that has a runtime fatal error
- have a script with an infinite loop
- have two incompatible versions of the same menu or tool script
- update a script in such a way as to have incompatible values in Global variables as left over from the previous run
- ....
- have a layer script that has a runtime fatal error
- have a script with an infinite loop
- have two incompatible versions of the same menu or tool script
- update a script in such a way as to have incompatible values in Global variables as left over from the previous run
- ....
Re: Crashing when reloading scripts/tools
Thanks hayasidist,
My script is really simple. Just printed out the name of the file and the path to the file. I'm just trying to get familiar with lua and getting relevant information from ASP.
My script is really simple. Just printed out the name of the file and the path to the file. I'm just trying to get familiar with lua and getting relevant information from ASP.
My opinions and comments do not represent those of my employer.
http://www.ernestpchan.com
http://www.zazzle.com/gopuggo
http://www.ernestpchan.com
http://www.zazzle.com/gopuggo