# Looking for some way to direct set a breakpoint in sub module in guitracer?

**URL:** <https://swi-prolog.discourse.group/t/looking-for-some-way-to-direct-set-a-breakpoint-in-sub-module-in-guitracer/5846>\
**Category:** Help!\
**Created:** [October 12, 2022, 5:14am UTC](https://swi-prolog.discourse.group/t/looking-for-some-way-to-direct-set-a-breakpoint-in-sub-module-in-guitracer/5846 "2022-10-12T05:14:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Losbarthos](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/losbarthos/32/4037_2.png) [@Losbarthos](https://swi-prolog.discourse.group/u/Losbarthos)\
**Post date:** [October 12, 2022, 5:14am UTC](https://swi-prolog.discourse.group/t/looking-for-some-way-to-direct-set-a-breakpoint-in-sub-module-in-guitracer/5846/1 "2022-10-12T05:14:54Z")

</div>

I am looking for some way to set break point in guitracer in some module I use in my base function. At moment I only know the way to set some break point after the guitracer enters the module first time. Is their a more direct way?

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [October 12, 2022, 7:37am UTC](https://swi-prolog.discourse.group/t/looking-for-some-way-to-direct-set-a-breakpoint-in-sub-module-in-guitracer/5846/2 "2022-10-12T07:37:22Z")

</div>

The built-in editor can set breakpoints (using Prolog/Break at from the menu). @oskardrums debug adapter for Emacs can do it and you can call set\_breakpoint/4 and friends (see manual). I do not know which other editors support this.
