Home

Feature Tour

PDF Print E-mail
Article Index
Feature Tour
One layout for each debugging situation
Ask, don't search!
Goodbye MESSAGEs and STOPs!
Where are my breakpoints?
Conditional breakpoints
You won't get lost again
Stepping Out!
Play, Pause, Stop, Restart!
Syntax Highlighting

Conditional Breakpoints: telling your breakpoints when to stop

Sometimes standard breakpoints are not enough. Let's suppose you are processing a table with several thousands of records, and that the bug you are trying to fix always seem to appear on the second half of this process. Setting a breakpoint at the point where you are processing each record would not help in this situation, as you don't really want the debugger to stop on each record. At least not until half of those records have already been processed. And there is where awDebugger's conditional breakpoints come in your help.

awDebugger allows you to set a condition for each breakpoint, based either on the number of times the breakpoint has been hit, or on a condition that must be true when the breakpoint is reached, otherwise awDebugger will continue executing the application as if there were no breakpoints set at that line.

Just to name a few examples, by setting the appropriate conditions you can tell a breakpoint to interrupt the program's execution:

  • Always (this would be the case for ordinary breakpoints)
  • Only when the breakpoint was hit exactly n times
  • When the breakpoint has been hit at least n times
  • Every n times the breakpoint is hit
  • Only if GlobalRequest = InsertRecord and ORD:Total >= 10000
  • Only if ORD:Total >= 10000 and the breakpoint has already been hit at least 10 times


 

AtlanWare Services

Services we provide:
  • Custom Programming
  • Custom Clarion Templates Development
  • Custom Clarion Classes Development
  • Implementation of Clarion 3rd party tools
  • Integration of 3rd party tools written in other languages
  • Legacy to ABC Migration
  • TPS to SQL Migration
  • Consulting Services
  • Debugging Services
  • Clarion Training

Syndicate

Who is online?