Conditional breakpoints and time traveler's wife

Learn all about making your tRev breakpoints super smart—and how to use our brand new Breakpoint Iterations navigator:

(download)

Conditional Breakpoints
 
Here are the new conditionals you can add to the breakpoints you make with tRev:
 
BREAKPOINT: #1274218486:once (only records the last time the breakpoint was called)
BREAKPOINT: #1274218486:clear (clears all data for the indicated breakpoint)
BREAKPOINT: #1274218486:stop (records data and then stops execution of code)
 
NOTE: Breakpoints with "clear" conditionals are placed before a repeat loop where a breakpoint with the same record number is being used. "clear" is not needed for any breakpoints that have "once" conditional.
 
BREAKPOINT: #1274218486:tVar=234
BREAKPOINT: #1274218486:tVar is 234
 
BREAKPOINT: #1274218486:tVar is not "fairfield"
BREAKPOINT: #1274218486:tVar<>12
 
BREAKPOINT: #1274218486:tVar>3
BREAKPOINT: #1274218486:tVar is greater than 3
 
BREAKPOINT: #1274218486:tVar<3
BREAKPOINT: #1274218486:tVar is less than 3
 
BREAKPOINT: #1274218486:tVar>=3
BREAKPOINT: #1274218486:tVar is greater than or equal to 3
 
BREAKPOINT: #1274218486:tVar<=3
BREAKPOINT: #1274218486:tVar is less than or equal to 3
 
BREAKPOINT: #1274218486:tVar contains 3
 
BREAKPOINT: #1274218486:tVar begins with 3
BREAKPOINT: #1274218486:tVar ends with 3
 
NOTE: To make your breakpoint conditionals more readable, you can use spaces in the portion of the conditional after the colon. Example...
 
BREAKPOINT: #1274218486: tVar = 234
 
More about Breakpoint Iterations (Time Traveler's Wife)
 
It didn't mention it in the video, but in addition to using cmd+shift+i, you can type either the return or escape keys to dismiss the Breakpoint Iterations pop-up.

If you have more iterations than your Breakpoint Iterations pop-up can house, you will see the last line of data truncated. Just move you mouse down to that last line in the pop-up and it will auto-scroll to let you see the line items that were hidden. Same goes for the top line when you've scroll down and there's now more line items on top.

Breakpoint Manager
 
The Breakpoint Manager now has the correct name for its button that clears out breakpoint data without removing the breakpoint itself from your code. All the tooltips reflect the new stuff you have seen today. Just turn on Headers and Extra Tool Tips from the prefs dialog.

Check for Updates and get all this goodness. No need for a new tRev app download.

Try tRev now:

   

Created by Daniels & Mara

Decoder lets you time travel through breakpoints!

Watch me travel in time with tRev's new decoder!

(download)

Setting and deleting breakpoints works the same. Breakpoint manager, too.

   

Think about it...

Now you can go back in time to see your code's context (content of vars, etc) a few minutes ago, or last week! This is great for repeat loops, but it also has other uses. Best of all, this context data is stored in your tRev database and none of this even touches Rev IDE.

Super Helpful Tip

If you want to reset the context data for a breakpoint to empty, just use the Breakpoint Manager to delete it. This only deletes the breakpoint's data, but leaves the breakpoint itself in your code!

NOTE: setting a breakpoint in a long repeat loop can slow down your code's execution.

Try tRev now:

   

Created by Daniels & Mara

Full disclosure, object resolution, context sensing!

Take a look at your new Object Browser in action:

(download)

Smarter Object Browser:
  • Full disclosure: click a stack and see its first card's controls and snap.
  • Object resolution: click Browser tab and see last open tab's object.
  • Context sensing: edit a Rev IDE object's code and start seeing Rev IDE stacks.

Enhanced Email-a-Question dialog:
  • Now emails directly using our On-Rev hosted CGI. No email client used. Thanks to Sarah Reichelt for her help with the CGI code.
  • Need to include your email address, but tRev remembers it once entered.
  • Can now associate a level of urgency with your question.
  • Your platform, Rev version & preferences are automatically added to the email.

Bug fixes:
  • Closing a stack with Magic Menus now works much more reliably.

You will not need to download a new tRev app, but can just use Check for Updates from the Help menu or wait until tRev tells you there's an update available.

Try tRev now:

   

Created by Daniels & Mara

Background tabs: open a tab without going there!

Watch me open tabs from tRev's Object Browser, Scratch Pad and Handler Links without leaving current tab:

(download)

New Background Tabs
  • Now you can open a tab to another object while staying in your current tab.
  • This allows you to keep working in the browser or on a script.
  • Use command key (control on PCs) to open a tab without going to it.
  • Works on Browser line items, links-to-handlers in code, and the scratchpad.
  • Command+double-clicking a line item in Browser no longer edits name of line item.
Easier Scratch pad locking
  • When Scratch Pad is unlocked, escape key locks it.
Fixed
  • If tRev thinks it's offline on startup, it now tries again.
  • Scratch Pad contents now reliably preserved from session-to-session.
  • When in zoom mode, controls in list can now be renamed.
  • When in zoom mode and controls being renamed, escape key now exits renaming.
Try tRev now:

   

Created by Daniels & Mara

Need more detail in card snaps? ZOOM!

Watch me zoom a card snapshot out to full size with a click, double-click or a keystroke:

(download)

Click to zoom:

Keystrokes that zoom:

Click to unzoom:

Keystrokes that unzoom:

All tRev components have been updated for zoom as well as the Quickstart and Shortcut documents for OS X and Vista/7.

ALERT: As of the update made hours after this post, double-clicking the area outside the snap no longer zooms and unzooms. Instead double-clicking the area directly outside the snap (but within the surrounding snap pane) will now edit the script of the card snap's stack. Also, double-clicking any non-control area inside the snap will open the script of the card.

Try tRev now:

   

Created by Daniels & Mara