[OpenLayers-Trac] [OpenLayers] #507: debug mode

OpenLayers trac at openlayers.org
Mon Jun 4 23:04:37 EDT 2007


#507: debug mode
----------------------+-----------------------------------------------------
  Reporter:  tschaub  |       Owner:  tschaub    
      Type:  feature  |      Status:  new        
  Priority:  minor    |   Milestone:  2.5 Release
 Component:  tests    |     Version:             
Resolution:           |    Keywords:  review     
----------------------+-----------------------------------------------------
Changes (by tschaub):

  * keywords:  => review

Comment:

 Ok, I've been enjoying using this for a while - will happily commit if it
 passes review (debug.3.patch).

 As described above, if a user puts the DebugOpenLayers.js script tag after
 the OpenLayers.js script tag - they get a Firebug like console (cross-
 browser).  If the tag is not included, OpenLayers.Console calls are
 harmless.

 The only change reflected here is capitalization of the OpenLayers.Console
 namespace.

 Next discussion will have to be about try/catch, when to throw, what to
 throw, and which OpenLayers.Console methods to use where.

 Please review.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/507#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list