[OpenLayers-Dev] Debugging OpenLayers: a script not minified?

Yves Jacolin yves.jacolin at camptocamp.com
Mon Feb 7 11:33:53 EST 2011


Hello,

Yes it does! How did you link OL lib in your code? 

If you downloaded the lib in your server, you need to link to 
OpenLayers-2.9/lib/OpenLayers.js instead of OpenLayers-2.9/OpenLayers.js

Regards,

Y.
Le lundi 07 février 2011 17:20:48, Andrés Maneiro a écrit :
> Hello,
> 
> I'm through the process of understanding how a WFS request is formed. I
> think I have a bug on my code and it will be useful to debug the process
> all along. So, I need to go through OL code step by step and understand
> what it does.
> 
> For that, I'm using the utilities chrome browser provides. But, the
> OpenLayers script is minified [1], so it's a mess to debug and
> understand. I've tried the OL code from svn and also the tarball of the
> stable release. Both seem to be minified.
> 
> So, my question is: is there a version of OL not minified "for
> debugging"? How do you debug step-by-step OL code?
> 
> best,
> amaneiro
> 
> [1] http://www.crockford.com/javascript/jsmin.html
> 
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev

-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel (France) : +33 4 79 26 57 98
Tel (Suisse) : +41 21 619 1031
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jacolin at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list