[mapguide-users] Debugging tools

Jason Birch Jason.Birch at nanaimo.ca
Thu Sep 7 12:40:12 EDT 2006


So there was a PHP error that was not returning?

I believe that the php.ini file that ships with MapGuide has error
reporting turned off.  If you turn it on, maybe you would get what you
need in your case?

Jason 

-----Original Message-----
From: Jim O'Leary [mailto:joleary.public at gmail.com] 
Sent: Thursday, September 07, 2006 08:21
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Debugging tools


Are there any debugging tools for MapGuide OS? When I add an enhancement
to an existing sample, the enhancement does not appear but there is no
indication from the application where the problem lies.

For example, recently I set out to add point redlining to the line
redlining sample, draw_line.php, modifying the code from
create_new_point_layer_definition.php and adding it to draw_line.php.
However, the map continued to redline the lines, but not the points,
with no debug messages.

I got deep into the code and realized I had to add a PointTypeStyle
section to the layerDefinition. I could find nothing in the
documentation or in the output of the program to indicate that this was
the problem. It took me several hours to do this.

I think that developers who want to use the MapGuide APIs should not
have to get into the code at the level of a core developer in order to
use it. I suspect that many would not have the time to do that. A
debugging tool would be most helpful.
--
View this message in context:
http://www.nabble.com/Debugging-tools-tf2233805.html#a6192404
Sent from the OSGeo MapGuide forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org





More information about the Mapguide-users mailing list