« New Flex Builder pricing
» Flex Builder 2 free for students and educators

ActionScript, Flex IDE, RIA

Debug/Logging Client-Side - Part 1

Virgil Cristea | 24.10.07 | 1 Comment

Table of contents

  1. Debug/Logging Client-Side - Part 1
  2. Debug/Logging Client-Side - Part 2

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:
  • Technorati
  • StumbleUpon
  • del.icio.us
  • NewsVine
  • Reddit
  • Digg
  • Furl
  • co.mments
  • blogmarks
  • Slashdot
  • description
  • Taggly
  • YahooMyWeb
  • connotea
  • Webride




Tags: , , ,

This post was written by Virgil Cristea

Views: 1098

related

1 Comment

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="">

:

:


« New Flex Builder pricing
» Flex Builder 2 free for students and educators