We love choice

Fx{r} is trying to start the Fx{r} Community! Please join our group on Adobe Groups following this link: http://groups.adobe.com/groups/423.
Fx{r} is now on Twitter too. Follow us @ twitter.com/fx_r!
«
»

ActionScript, Flex IDE, RIA

Debug/Logging Client-Side – Part 1

Virgil Cristea | 24.10.07 | 2 Comments

Table of contents

  1. Debug/Logging Client-Side – Part 1
  2. Debug/Logging Client-Side – Part 2
Google Buzz

One of the most common problems in developing new applications is their debugging. There are several methods to do this in Flex (trace, alert – like somebody once said: “Alert till death”). But what happens if you want the same logging that you had on your work environment to also be available when the application is distributed to the customer?

There are several methods to do this: logging into a field in the application, logging to the customer database (if the application uses a database) or using TraceTargets. There may be other methods to do this, but this are the main ones.

I will not talk about the database approach, but I will concentrate on the TraceTarget approach.

Imagine you have an application that is distributed to a lot of clients and one of them tells you he has a problem. In this case you can ask him for a description of the problem and try to replicate it. That often is not successful. What if you could instruct the application you developed to send you the trace information without having to write a lot of code?

… More to come in the next post. (Including some source code)

Share and Enjoy:
  • Twitter
  • Google Buzz
  • LinkedIn
  • Google Bookmarks
  • del.icio.us
  • Digg
  • Sphinn
  • blogmarks
  • Reddit
  • StumbleUpon
  • Facebook
  • DZone
  • FriendFeed
  • Yahoo! Buzz
  • Yahoo! Bookmarks
  • Slashdot
  • MySpace
  • Add to favorites




Tags: , , ,

This post was written by Virgil Cristea

Views: 3408

related

2 Comments

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

:

:


«
»