Debugging tools

Jim O'Leary joleary.public at gmail.com
Thu Sep 7 11:58:11 EDT 2006


Yes, I have already set the script frame height to 100. This does show custom
debug and auto generated error messages for code that runs in the script
frame. However, in the example that I cited, there is no error message. The
application continues to run, and does not tell me where my application
fails.



Andy Morsell wrote:
> 
> If you open the \WebServerExtensions\www\viewerfiles\framesettasbar.templ
> file in an editor, you can then change the height of the scriptFrame from
> 0
> to, say, 100.  If something that is executing there has problems, at least
> you could see any thrown errors.  I'm not sure if this will help in this
> specific case, however. 
> 
> 
> Andy Morsell, P.E.
> Spatial Integrators, Inc.
> http://www.SpatialGIS.com
> 
> -----Original Message-----
> From: Jim O'Leary [mailto:joleary.public at gmail.com] 
> Sent: Thursday, September 07, 2006 8:21 AM
> 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
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Debugging-tools-tf2233805.html#a6193190
Sent from the OSGeo MapGuide forum at Nabble.com.





More information about the Mapguide_users mailing list