# How to locate problem when the called function has no output?

**URL:** https://discourse.julialang.org/t/how-to-locate-problem-when-the-called-function-has-no-output/91237
**Category:** New to Julia
**Tags:** question, function
**Created:** [December 5, 2022, 1:13am UTC](https://discourse.julialang.org/t/how-to-locate-problem-when-the-called-function-has-no-output/91237 "2022-12-05T01:13:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![XuJingye2022](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xujingye2022/32/38972_2.png) [@XuJingye2022](https://discourse.julialang.org/u/XuJingye2022)
#### Post date: [December 5, 2022, 1:13am UTC](https://discourse.julialang.org/t/how-to-locate-problem-when-the-called-function-has-no-output/91237/1 "2022-12-05T01:13:59Z")

</div>

I write a function `funCalled`. it ran successfully yesterday but failed today——The task manager shows that Julia has been consuming CPU but no error reported.

So I inserted `println()` in the first line.

```julia
function funMain()
    ...
    println(1)
    funCalled()
    ...
end

function funCalled()
    println(2)
    ...
end

```

The output is

```julia
1

```

So which step is stuck?

* * *

Sorry, after about 40min, the function finally started to run…tooooooo slow
