# Chapters 23-24 - Stop on each breakpoint without honouring return value

**URL:** <https://forums.kodeco.com/t/chapters-23-24-stop-on-each-breakpoint-without-honouring-return-value/59792>\
**Category:** Advanced Apple Debugging\
**Created:** [January 15, 2019, 7:19am UTC](https://forums.kodeco.com/t/chapters-23-24-stop-on-each-breakpoint-without-honouring-return-value/59792 "2019-01-15T07:19:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gorloff](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gorloff/32/102075_2.png) [@gorloff](https://forums.kodeco.com/u/gorloff)\
**Post date:** [January 15, 2019, 7:19am UTC](https://forums.kodeco.com/t/chapters-23-24-stop-on-each-breakpoint-without-honouring-return-value/59792/1 "2019-01-15T07:19:32Z")

</div>

As it said in book:

1. If handler function returns `True` the execution will be stopped on that breakpoint
2. In other cases, it will continue.

Unfortunately, I experience the problem:  
The execution stops on each breakpoint created via `bar`.  
I rechecked all the code multiple times, yeah.  
Why it wants to stop if I send False from the handler?

Additionally, final project + final script don’t want to work at all - it always prints `"Breakpoint isn't valid or hasn't found any hits"`.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [January 15, 2019, 11:24am UTC](https://forums.kodeco.com/t/chapters-23-24-stop-on-each-breakpoint-without-honouring-return-value/59792/2 "2019-01-15T11:24:10Z")

</div>

@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [June 30, 2019, 11:19pm UTC](https://forums.kodeco.com/t/chapters-23-24-stop-on-each-breakpoint-without-honouring-return-value/59792/3 "2019-06-30T23:19:34Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
