Feature Friday is Near-Future Friday

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

Future Friday!

We are announcing a new product created in the fine tradition of tRev.

We have THREE videos on a new site to cover this exciting news.

You should CLICK HERE to start watching!

Set Browser's default action via Magic Menus

Check out the new preference that lets you alter the Browser's default action:

(download)

Change the Object Browser's default button

  • New preference allows the last Magic Menu choice to become the Browser default action.
  • Name of the default button then changes to the last Magic Menu choice.
  • This lets you do the same action repeatedly without using the Magic Menu.

New Double-click and return key functionality in browser

  • Double-click and return key in Browser lists carry out the current default action.
  • Double-click and return key in Snaps or Zoomed snaps do likewise.

Magic Menus in Snaps

  • Right click any control or non-control area in a Snap or Zoomed Snap for a Magic Menu.
  • Magic Menus work just as they do in the controls or cards lists. 

Fixes

  • Magic Menus no longer occassionally disappear when clicking an item in the stacks list.
  • Clips now play when one is selected and return key is pressed.
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