Too often when developing a new add-on, Celestia detects an error and silently ignores the enhancement. Often it can take many rewrites before one finds the cause of the problem.
There are quite a few error message printouts in the souce code that apparently are disabled when the final executable is generated. It'd be really nice if they could be left enabled, perhaps using the new status message display feature -- the one that shows the magnitude cutoff limit, etc.
Feature request: error messages enabled
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
This is an important feature to add . . . One thing you can do in the meantime is run Celestia from the command line like this:
celestia > blah
. . . to redirect error output into the file blah. You'll see some basic debugging information inside which might help get your addons working faster.
--Chris
celestia > blah
. . . to redirect error output into the file blah. You'll see some basic debugging information inside which might help get your addons working faster.
--Chris
-
Topic authorselden
- Developer
- Posts: 10192
- Joined: 04.09.2002
- With us: 22 years 3 months
- Location: NY, USA
Chris,
Thanks!
Unfortunately, it looks like not all of the possible error messages are redirected. For example, I intentionally commented out the period in one of my .ssc files and it didn't complain, but didn't load the description either. Adding -v to the command line didn't help, either.
(I assume you're aware that it's generating an error message about the "track" command in demo.cel.)
Thanks!
Unfortunately, it looks like not all of the possible error messages are redirected. For example, I intentionally commented out the period in one of my .ssc files and it didn't complain, but didn't load the description either. Adding -v to the command line didn't help, either.
(I assume you're aware that it's generating an error message about the "track" command in demo.cel.)
Selden