# Stop in code

**URL:** <https://discourse.julialang.org/t/stop-in-code/7479>\
**Category:** General Usage\
**Created:** [December 3, 2017, 6:08pm UTC](https://discourse.julialang.org/t/stop-in-code/7479 "2017-12-03T18:08:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diger](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/diger/32/36786_2.png) [@Diger](https://discourse.julialang.org/u/Diger)\
**Post date:** [December 3, 2017, 6:08pm UTC](https://discourse.julialang.org/t/stop-in-code/7479/1 "2017-12-03T18:08:57Z")

</div>

Will there be functionality in 1.0 to stop in your code with some command and not continue further to execute it?

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [December 3, 2017, 6:51pm UTC](https://discourse.julialang.org/t/stop-in-code/7479/2 "2017-12-03T18:51:05Z")

</div>

Can you clarify what you mean? Do `return` or `error()` or `exit()` not do what you want already?

---

<div class="post-metadata">

**Author:** ![Diger](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/diger/32/36786_2.png) [@Diger](https://discourse.julialang.org/u/Diger)\
**Post date:** [December 3, 2017, 6:52pm UTC](https://discourse.julialang.org/t/stop-in-code/7479/3 "2017-12-03T18:52:29Z")

</div>

Since when have they been implemented?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [December 3, 2017, 6:56pm UTC](https://discourse.julialang.org/t/stop-in-code/7479/4 "2017-12-03T18:56:17Z")

</div>

All 3 have been part of the language for a long time.

---

<div class="post-metadata">

**Author:** ![pkofod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pkofod/32/2179_2.png) [@pkofod](https://discourse.julialang.org/u/pkofod)\
**Post date:** [December 3, 2017, 7:58pm UTC](https://discourse.julialang.org/t/stop-in-code/7479/5 "2017-12-03T19:58:12Z")

</div>

I am not sure the other replies fully understand your question (though I may be wrong). You are looking for a debugging tool to insert break points like `keyboard` in Matlab, right?

---

<div class="post-metadata">

**Author:** ![Diger](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/diger/32/36786_2.png) [@Diger](https://discourse.julialang.org/u/Diger)\
**Post date:** [December 3, 2017, 10:59pm UTC](https://discourse.julialang.org/t/stop-in-code/7479/6 "2017-12-03T22:59:50Z")

</div>

yes. So I can continue if I type sth or do whatever
