# List of function called

**URL:** <https://discourse.julialang.org/t/list-of-function-called/97858>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [April 24, 2023, 1:38pm UTC](https://discourse.julialang.org/t/list-of-function-called/97858 "2023-04-24T13:38:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gitboy16](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gitboy16/32/24906_2.png) [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Post date:** [April 24, 2023, 1:38pm UTC](https://discourse.julialang.org/t/list-of-function-called/97858/1 "2023-04-24T13:38:39Z")

</div>

Hi,  
Let’s assume I have a module.  
I call a function inside that module.(1)  
This function calls other functions inside that module.  
1/ is there a way to know the location/lign where the first function is called (1)  
2/ is there a way to get the list of functions called in that module after calling the first function?  
I have looked at stacktrace but i can’t manage to make it work.  
Thanks

---

<div class="post-metadata">

**Author:** ![Salmon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/salmon/32/22968_2.png) [@Salmon](https://discourse.julialang.org/u/Salmon)\
**Post date:** [April 24, 2023, 2:17pm UTC](https://discourse.julialang.org/t/list-of-function-called/97858/2 "2023-04-24T14:17:08Z")

</div>

The package `Cthulhu.jl` has a slightly more general scope, i.e. figuring out type inference, but it’s a good way to crawl recursively through the stack trace. By pressing `E` you can always jump to the respective line of code too.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [April 24, 2023, 5:28pm UTC](https://discourse.julialang.org/t/list-of-function-called/97858/3 "2023-04-24T17:28:18Z")

</div>

Linking a related thread:

> [@Call graph generator for Julia](https://discourse.julialang.org/t/call-graph-generator-for-julia/5822/5):
>
> Clustering by file like in figure 21 is nice too
