Modify

Opened 12 years ago

Closed 12 years ago

#115 closed enhancement (wontfix)

Make some debug infrastucture

Reported by: frsantos@… Owned by: imi
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Right now, for debugging info, I use System.out to dump debug information to the process output. However, this requires the user to start JOSM from the command line.

It could be useful to get some infrastructure to send debug messages to a JOSM window, enabled or disabled by the user. In this window, it would appear all debug messages, probably separated in tabs, one per plugin.

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by imi

Resolution: wontfix
Status: newclosed

I don't like log-statement pollution thoughout the code, so JOSM has no log4j or similar fancy logging system enabled.

If you find this inappropiate, you can e.g. add a menu entry to the help menu showing a JTextArea with your log statements. Should be only very little overhead to setup this. (If every plugin does this with it's name included in the menu entry, you get the "different tabs" for free as different menu entries ;-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain imi.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.