More Flex Builder 3.0 debugger features

I’ve been meaning to post this ever since we released Flex Builder 3 Beta 2 a few weeks ago. There are some nice debugger enhancements I wanted to tell you about (in addition to the features that were in beta 1, which I described in June).

Hierarchical variables view.

Reduces clutter in the Variables view by grouping all superclass members in a separate tree node, so by default you only see the members of the current class.

inherited.png

Much faster single-stepping.

Previously, if any variables such as “this” were expanded in the variables view (so that their members were visible), then single-stepping in the debugger was somewhat slow. It is now much, much faster — in fact, single-stepping with variables expanded is just as fast as single-stepping with variables collapsed. In one quick test I just ran, single-stepping in Flex Builder 3 was twenty times faster than in Flex Builder 2. In Flex Builder 3, I can just hold down F5, and even on a slow machine, it is executing about ten single-steps per second.

No more “Where is the debugger” dialog.

Now when the Flash player runs a debuggable application (swf) but can’t find a debugger, it just runs the app, with no annoying dialog. (If you want to force it to prompt for a debugger, do right-click > Debugger on the swf running in the browser.)

No more separate debug swf in your bin folder.

Flex Builder 2 created YourApp.swf and YourApp-debug.swf — and also YourApp.html and YourApp-debug.html. Flex Builder 3 no longer creates the "*-debug" files. This speeds up compilation — Flex Builder only has to create one swf — and greatly simplifies writing code that has to refer to other swfs by filename.

In Flex Builder 3, the files in the “bin” directory are debug files. (Before we ship, we will probably rename that folder to “bin-debug”.) To get the release files, use the Export Release Version command, which creates a separate “bin-release” directory. There are more details in this blog post and in this video.

no-debug-swf.png

What iWant from the iPhone: voice commands

I don’t have an iPhone.  But if I did, here’s what I would want it to have: voice commands, so that I can use it while driving.

While listening to podcasts:

  • “back up” or “repeat” to back up a few seconds
  • “pause,” “play,” etc.
  • “faster,” “slower,” “normal speed”

Email:

  • iPhone reads the email to me
  • “next message,” “delete message,” etc.
  • Dictation, a la Dragon NaturallySpeaking.  Okay, I know that’s way too much to ask from such a small device, but maybe someday…

When using as a phone: “call Tom” (standard voice dialing, as some other phones already have).

What else?

Flex Builder 3 works with Eclipse 3.3

Hey, in case you didn’t notice — the beta of Flex Builder 3 works with the beta of Eclipse 3.3. Give it a try!

Eclipse 3.3 has lots of nice new features. One of my favorites — especially when I am working on the Mac — is Cmd+3 (or Ctrl+3 on Windows). This gives you full keyboard access to every menu item, command, preference, etc., just by typing a few characters of the command. E.g. if you want to rename something but can’t remember the keyboard shortcut for rename, just type Cmd+3, “rename”. You’ll be shown a list of every command that includes that word.

On Windows this is nice but not really a big a deal; but on Mac, it’s awesome for keyboard-heavy users like me.

(By the way, you can set up Quicksilver to do something similar for all apps by following an elaborate set of steps; but it’s hard to figure out how to do, and the end result isn’t quite as easy to use as what Eclipse has done.)

For the full description of the feature, go to this page and then search down for “quick access”.

« Previous PageNext Page »