Feature request: error messages enabled

General discussion about Celestia that doesn't fit into other forums.
Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Feature request: error messages enabled

Post #1by selden » 01.11.2002, 21:40

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.
Selden

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #2by chris » 02.11.2002, 01:06

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

Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Post #3by selden » 02.11.2002, 01:56

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.)
Selden

Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Post #4by selden » 02.11.2002, 12:52

Oops. Ignore my comment about the "track" directive, although it'd be nice if it could be implemented. I'd fogotten I'd been messing with demo.cel while trying out some things. :oops:
Selden


Return to “Celestia Users”