08-10-2021 04:59 AM
Hi, I would like to know the steps to put a breakpoint inside a for loop.
Normally when I place a breakpoint on a for loop, the red border is in the outer area.
I am trying to put the red border inside the for loop.
Figure is attached for your reference.
08-10-2021 05:09 AM
08-10-2021 05:55 AM
Hi GerdW,
When I place breakpoint on a wire inside a for loop, a red dot symbol appears on the wire.
Whereas I am looking for breakpoint with red border in the inner loop as shown in above post figure.
08-10-2021 06:15 AM
You have to decide, where you want to have your breakpoint.
It is either on a wire or structure inside the loop (with the appropiate symbol, usually a stop), OR it is on the loop then LabVIEW will stop on the entrance of the loop.
Regards, Jens
08-10-2021 06:32 AM
@JensG69 wrote:
You have to decide, where you want to have your breakpoint.
I want the breakpoint in the inner boundary of for loop as shown below.
Please tell the steps how to get this.
08-10-2021 06:41 AM
You can't do that specifically. Why is it that you want the red square inside the loop? What are you trying to accomplish? If you basically want to stop at when the loop iteration is complete you need to locate the wire that will most likely be executed last and place a break point on that wire. In your example below place the break point on the wire after the Add. The update of the shift register and the indicator will be the last thing to be executed in the loop.
08-10-2021 07:01 AM
Hi msabah,
@msabah38 wrote:Please tell the steps how to get this.
Which LabVIEW version was used to create that image?
Which LabVIEW version do you use now?
There probably was a (subtle) change on how the block diagram shows breakpoints set on structures regarding "inside"/"outside" structure borders!
To repeat all that has been said: Either set the breakpoint
08-10-2021 10:48 AM
08-10-2021 12:44 PM - edited 08-10-2021 12:47 PM
@msabah38 wrote:
@JensG69 wrote:
You have to decide, where you want to have your breakpoint.
I want the breakpoint in the inner boundary of for loop as shown below.
Please tell the steps how to get this.