100 likes | 216 Views
This guide provides a comprehensive overview of troubleshooting ArcGIS Web APIs from a support perspective, focusing on JavaScript, Flex, and Silverlight applications. It covers essential debugging tools, optimal application setups, and common troubleshooting scenarios. Learn about powerful web browser debugging tools like Fiddler, Firebug, and Chrome’s developer tools, which facilitate client-side debugging of HTML, CSS, JavaScript, and HTTP traffic. Explore specific debugging techniques for JavaScript, Flex, and Silverlight APIs, including HTTP traffic monitoring and error trapping, to enhance your application's reliability and performance.
E N D
Troubleshooting ArcGIS Web API’s (JavaScript, Flex, Silverlight) from a Support Perspective Doug Carroll and Heather Gonzago
Overview • Debugging tools and resources • Application setups and patterns • Common troubleshooting samples • How to troubleshoot intermittent problems
Web Browser Debugging Tools • Tools that allow client –side debugging of web page components, e.g. • HTML • CSS • JavaScript • HTTP Traffic • Provides QA, saves time, and aids in troubleshooting errors
Common Web Browser Debugging Tools • Most commonly used in Support • Browser-based • Fiddler (Microsoft) • Firebug (Mozilla) • IE Developer Tools • Chrome’s integrated web kit tools • Charles* • Development Environments • Microsoft Visual Studio • Eclipse / Flash Builder • Aptana
JavaScript, Flex and Silverlight Demos • JavaScript API Debugging (Firebug | Aptana) – Console logging, HTTP Traffic monitoring, code stepping and error trapping • Silverlight API Debugging (Fiddler | Visual Studio) – HTTP Traffic monitoring, code stepping and error trapping • Flex API Debugging (Charles | Flash Builder) – Binary HTTP Traffic monitoring, code stepping and error trapping
What about Debugging Viewers? • Silverlight Viewer Add-in Debugging (Fiddler | Visual Studio) – Attaching to Process, HTTP Traffic monitoring and code stepping • Flex Viewer Widgets – These are debugged using the same technique as standard Flex API applications