# \#debug

**URL:** https://discourse.julialang.org/tag/debug/64.md?match_all_tags=true&page=3&tags%5B%5D=debug

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 4

---

## [ERROR: UndefRefError: access to undefined reference in debug mode](https://discourse.julialang.org/t/error-undefreferror-access-to-undefined-reference-in-debug-mode/29271)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 3\
**Last updated:** [October 24, 2019, 10:30pm UTC](https://discourse.julialang.org/t/error-undefreferror-access-to-undefined-reference-in-debug-mode/29271 "2019-10-24T22:30:01Z")

</div>

Usually when I debug code using JuliaInterpreter I can see the variables from the current scope in the workspace and I can also use them in the REPL (to evaluate certain expressions). I wanted to run the code from: http…

---

## [Debugging Pane with Non-Functions](https://discourse.julialang.org/t/debugging-pane-with-non-functions/29612)

<div class="topic-metadata">

**Author:** [@duncanam](https://discourse.julialang.org/u/duncanam)\
**Replies:** 3\
**Last updated:** [October 8, 2019, 6:37am UTC](https://discourse.julialang.org/t/debugging-pane-with-non-functions/29612 "2019-10-08T06:37:08Z")

</div>

Hello, Coming from a MATLAB background, I was a little surprised that Juno does not allow for the debugging of non-functions. Most of my work is done within simple scripts that import data, perform analysis on that data…

---

## [ANN: Infiltrator.jl](https://discourse.julialang.org/t/ann-infiltrator-jl/28323)

<div class="topic-metadata">

**Author:** [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Replies:** 20\
**Last updated:** [September 4, 2019, 8:42am UTC](https://discourse.julialang.org/t/ann-infiltrator-jl/28323 "2019-09-04T08:42:39Z")

</div>

Hey everyone, I’d like to announce Infiltrator.jl, which is intended as complement to the existing debuggers. What is this? Infiltrator.jl provides a macro called @infiltrate , which sets a “breakpoint” in a local cont…

---

## [Prints won't show up when debugging a function](https://discourse.julialang.org/t/prints-wont-show-up-when-debugging-a-function/27105)

<div class="topic-metadata">

**Author:** [@mrapo](https://discourse.julialang.org/u/mrapo)\
**Replies:** 4\
**Last updated:** [August 2, 2019, 11:46am UTC](https://discourse.julialang.org/t/prints-wont-show-up-when-debugging-a-function/27105 "2019-08-02T11:46:05Z")

</div>

I’m debugging some issues in a Julia repository and at the moment I’m trying to track where in the code the issue is located. The repository contains one main module that uses several sub-modules. I have forked the repos…

---

## [Debugger fails on pycall](https://discourse.julialang.org/t/debugger-fails-on-pycall/23560)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 19\
**Last updated:** [July 16, 2019, 11:57am UTC](https://discourse.julialang.org/t/debugger-fails-on-pycall/23560 "2019-07-16T11:57:16Z")

</div>

I’m using Debugger.jl to debug an RL algorithm calling into OpenAIGym.jl using PyCall. Upon the call, the error ERROR: sigatomic\_end called in non-sigatomic region is thrown. Is this a known limitation of the debugger …

---

## [Debugging Function-Like object under Juno](https://discourse.julialang.org/t/debugging-function-like-object-under-juno/26079)

<div class="topic-metadata">

**Author:** [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Replies:** 2\
**Last updated:** [July 11, 2019, 11:43am UTC](https://discourse.julialang.org/t/debugging-function-like-object-under-juno/26079 "2019-07-11T11:43:27Z")

</div>

I suspect this is a bug, but I’d like a second opinion in case I’m doing something wrong. Julia version: Julia Version 1.1.1 Commit 55e36cc308 (2019-05-16 04:10 UTC) Platform Info: OS: Linux (x86\_64-pc-linux-gnu) C…

---

## [Juno Debugger can't show source code, only lowered code](https://discourse.julialang.org/t/juno-debugger-cant-show-source-code-only-lowered-code/23032)

<div class="topic-metadata">

**Author:** [@plapplop](https://discourse.julialang.org/u/plapplop)\
**Replies:** 4\
**Last updated:** [April 11, 2019, 1:05pm UTC](https://discourse.julialang.org/t/juno-debugger-cant-show-source-code-only-lowered-code/23032 "2019-04-11T13:05:29Z")

</div>

I’m trying to get used to the new Debugger in Juno and I encountered many cases where it is unable to show me the source code, only the lowered code, which is less intuitive (at least for me) to track where I am. I have …

---

## [Set a breakpoint in the custom module](https://discourse.julialang.org/t/set-a-breakpoint-in-the-custom-module/22823)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 1\
**Last updated:** [April 8, 2019, 3:58pm UTC](https://discourse.julialang.org/t/set-a-breakpoint-in-the-custom-module/22823 "2019-04-08T15:58:00Z")

</div>

I want to set up breakpoint in the custom module. My module is in the file “utils.jl”: using Revise using Debugger module Utils export myfunc2 function myfunc2(x) x = x .^2 @bp x = x .+ 3 end end When…

---

## [New Julia debugger in Juno](https://discourse.julialang.org/t/new-julia-debugger-in-juno/22359)

<div class="topic-metadata">

**Author:** [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Replies:** 13\
**Last updated:** [April 5, 2019, 8:01am UTC](https://discourse.julialang.org/t/new-julia-debugger-in-juno/22359 "2019-04-05T08:01:38Z")

</div>

Anybody noticed this? I was very excited, but after updating / adding all packages they mentioned in the article, I still cannot make GUI debugger in Juno work. I tried both Julia 1.0.3 and 1.1.0 (both standard versio…

---

## [Adding logs to Base while debugging user code](https://discourse.julialang.org/t/adding-logs-to-base-while-debugging-user-code/22689)

<div class="topic-metadata">

**Author:** [@ksamtsak](https://discourse.julialang.org/u/ksamtsak)\
**Replies:** 1\
**Last updated:** [April 3, 2019, 12:23pm UTC](https://discourse.julialang.org/t/adding-logs-to-base-while-debugging-user-code/22689 "2019-04-03T12:23:24Z")

</div>

While debugging my code, I’d like to be able to examine what is going on in Base functions that are called by my code, by adding logging statements. However, changing code in ${INSTALL\_DIR}/share/julia/base and restartin…

---

## [Is it possible to add new variable bindings while debugging?](https://discourse.julialang.org/t/is-it-possible-to-add-new-variable-bindings-while-debugging/22686)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 2\
**Last updated:** [April 3, 2019, 11:24am UTC](https://discourse.julialang.org/t/is-it-possible-to-add-new-variable-bindings-while-debugging/22686 "2019-04-03T11:24:42Z")

</div>

Hi, the new debugging tools are just awesome. Thanks to all who have contributed to them!! Particularly, I am using the debugger in Juno and it works like a charm; I love it. One nice feature is that you cannot only in…

---

## [Debugging: @info display format](https://discourse.julialang.org/t/debugging-info-display-format/21369)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 1\
**Last updated:** [March 1, 2019, 9:33pm UTC](https://discourse.julialang.org/t/debugging-info-display-format/21369 "2019-03-01T21:33:48Z")

</div>

I’m trying to get familiar with Logging and am curious about best practices for displaying output. I have a function test which does some operations on a matrix, and I want to see the matrix after some operations. funct…

---

## [How to debug non-determinstic behavior involving ccall](https://discourse.julialang.org/t/how-to-debug-non-determinstic-behavior-involving-ccall/21186)

<div class="topic-metadata">

**Author:** [@leethargo](https://discourse.julialang.org/u/leethargo)\
**Replies:** 9\
**Last updated:** [February 27, 2019, 8:07am UTC](https://discourse.julialang.org/t/how-to-debug-non-determinstic-behavior-involving-ccall/21186 "2019-02-27T08:07:15Z")

</div>

I’m involved with a package that provides a Julia wrapper (SCIP.jl) to a C library (https://scip.zib.de/). In a current pull request (#100), I found that our tests pass most of the time, but not always. This non-determi…

---

## [Debugging code generation when testing with package manager](https://discourse.julialang.org/t/debugging-code-generation-when-testing-with-package-manager/20524)

<div class="topic-metadata">

**Author:** [@m-j-w](https://discourse.julialang.org/u/m-j-w)\
**Replies:** 3\
**Last updated:** [February 7, 2019, 8:48am UTC](https://discourse.julialang.org/t/debugging-code-generation-when-testing-with-package-manager/20524 "2019-02-07T08:48:21Z")

</div>

I’m the developer of the package CpuId. I’m currently facing an issue which appears to only occur when testing the package through the package manager, viz. typing \]test CpuId. In that case, the core functions containing…

---

## [State of the Debugger](https://discourse.julialang.org/t/state-of-the-debugger/4308)

<div class="topic-metadata">

**Author:** [@IljaK91](https://discourse.julialang.org/u/IljaK91)\
**Replies:** 20\
**Last updated:** [January 23, 2019, 1:09pm UTC](https://discourse.julialang.org/t/state-of-the-debugger/4308 "2019-01-23T13:09:09Z")

</div>

Hi there, I just wanted to ask about the state of the debugger in Julia. I am coming from Matlab and the debugger there is quite important for me to see where something is going wrong. For example, using NLsolve is a bi…

---

## [Controlling the new Logger (@debug messages)](https://discourse.julialang.org/t/controlling-the-new-logger-debug-messages/13732)

<div class="topic-metadata">

**Author:** [@Glen](https://discourse.julialang.org/u/Glen)\
**Replies:** 2\
**Last updated:** [October 15, 2018, 6:34pm UTC](https://discourse.julialang.org/t/controlling-the-new-logger-debug-messages/13732 "2018-10-15T18:34:30Z")

</div>

In 1.0 the new logging system has the @debug macro which only gets run if you turn on debug logging so no loss in performance. I can’t however figure out how to change the log level to get @debug messages to be printed.…

---

## [Why do these SGE procs fail to launch?](https://discourse.julialang.org/t/why-do-these-sge-procs-fail-to-launch/15558)

<div class="topic-metadata">

**Author:** [@aaraun](https://discourse.julialang.org/u/aaraun)\
**Replies:** 1\
**Last updated:** [October 3, 2018, 1:50pm UTC](https://discourse.julialang.org/t/why-do-these-sge-procs-fail-to-launch/15558 "2018-10-03T13:50:07Z")

</div>

julia\> using Distributed, ClusterManagers julia\> addprocs(SGEManager(1,""), qsub\_env="",res\_list="") Error launching workers MethodError(iterate, (Base.ProcessChain(Base.Process\[Process(\`echo 'cd /lmb/home/alewis && /lm…

---

## [Inconsistent behavior of map](https://discourse.julialang.org/t/inconsistent-behavior-of-map/14733)

<div class="topic-metadata">

**Author:** [@gpapo](https://discourse.julialang.org/u/gpapo)\
**Replies:** 1\
**Last updated:** [September 9, 2018, 2:56pm UTC](https://discourse.julialang.org/t/inconsistent-behavior-of-map/14733 "2018-09-09T14:56:11Z")

</div>

Why julia\> map(string, 1) "1" returns obviously a scalar but julia\> map(string, 'a') 1-element Array{String,1}: "a" returns an 1-dimensional array?

---

## [Best debugging procedures equivalent for VS Debug / Release?](https://discourse.julialang.org/t/best-debugging-procedures-equivalent-for-vs-debug-release/8700)

<div class="topic-metadata">

**Author:** [@marosko89](https://discourse.julialang.org/u/marosko89)\
**Replies:** 0\
**Last updated:** [January 30, 2018, 8:44pm UTC](https://discourse.julialang.org/t/best-debugging-procedures-equivalent-for-vs-debug-release/8700 "2018-01-30T20:44:36Z")

</div>

I develop the package which I use as AOT compiled shared library. I would like to know if there is something new in this area for debugging production code. I found using const DEBUG = false with && here. Are there in Ju…

---

## [Julia crashes when started on the nodes of a HPC cluster](https://discourse.julialang.org/t/julia-crashes-when-started-on-the-nodes-of-a-hpc-cluster/8065)

<div class="topic-metadata">

**Author:** [@Maurizio\_Tomasi](https://discourse.julialang.org/u/Maurizio_Tomasi)\
**Replies:** 8\
**Last updated:** [January 3, 2018, 5:28pm UTC](https://discourse.julialang.org/t/julia-crashes-when-started-on-the-nodes-of-a-hpc-cluster/8065 "2018-01-03T17:28:34Z")

</div>

Hi to everybody, I’m trying to run Julia on a HPC cluster we are using in our department for astrophysical simulations. The 64-bit system is running CentOS 6.2, and it has a front-end and 8 computing nodes, each with 12…

---

## [Segmentation fault on ccall](https://discourse.julialang.org/t/segmentation-fault-on-ccall/6776)

<div class="topic-metadata">

**Author:** [@anon61610682](https://discourse.julialang.org/u/anon61610682)\
**Replies:** 6\
**Last updated:** [November 11, 2017, 3:34pm UTC](https://discourse.julialang.org/t/segmentation-fault-on-ccall/6776 "2017-11-11T15:34:48Z")

</div>

I have implemented an algorithm for image segmentation, and I am trying to interface the C++ compiled shared library through Julia. The code seems to be working properly on a test.cpp file which uses the same C-API (prov…

---

## [ERROR: could not load library "libumfpack"](https://discourse.julialang.org/t/error-could-not-load-library-libumfpack/4100)

<div class="topic-metadata">

**Author:** [@Martin\_Florek](https://discourse.julialang.org/u/Martin_Florek)\
**Replies:** 1\
**Last updated:** [June 16, 2017, 7:11pm UTC](https://discourse.julialang.org/t/error-could-not-load-library-libumfpack/4100 "2017-06-16T19:11:10Z")

</div>

Today I went after a long time compiling the DLL and got the following error. ... dates/Dates.jl sparse/sparse.jl LoadError("sysimg.jl",344,LoadError("sparse/sparse.jl",42,LoadError("sparse\\\\umfpack.jl",75,ErrorExceptio…

---

## [Bug with divrem?](https://discourse.julialang.org/t/bug-with-divrem/3976)

<div class="topic-metadata">

**Author:** [@alexhallam](https://discourse.julialang.org/u/alexhallam)\
**Replies:** 7\
**Last updated:** [May 29, 2017, 4:50pm UTC](https://discourse.julialang.org/t/bug-with-divrem/3976 "2017-05-29T16:50:28Z")

</div>

I am using divrem(A, B) and getting the following warning WARNING: div(A::AbstractArray, B::Number) is deprecated, use div.(A, B) instead. It looks like I am being told to use div. instead of div, but I am not using d…

---

## [Why is julia-debug producing redundant debug intrinsics?](https://discourse.julialang.org/t/why-is-julia-debug-producing-redundant-debug-intrinsics/3655)

<div class="topic-metadata">

**Author:** [@singam-sanjay](https://discourse.julialang.org/u/singam-sanjay)\
**Replies:** 2\
**Last updated:** [May 12, 2017, 7:49am UTC](https://discourse.julialang.org/t/why-is-julia-debug-producing-redundant-debug-intrinsics/3655 "2017-05-12T07:49:30Z")

</div>

When the following function’s IR is generated by julia-debug, function add\_mat(a,b) ni,nj = size(a) for i=1:ni for j=1:nj a\[i,j\] = a\[i,j\] + b\[i,j\] end end …

---

## [How do I figure out where things went wrong in this parallel code?](https://discourse.julialang.org/t/how-do-i-figure-out-where-things-went-wrong-in-this-parallel-code/3462)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 3\
**Last updated:** [May 3, 2017, 3:06pm UTC](https://discourse.julialang.org/t/how-do-i-figure-out-where-things-went-wrong-in-this-parallel-code/3462 "2017-05-03T15:06:30Z")

</div>

I have the following code (simplified) that I run in a julia -p 4 REPL: println("computing betweenness centrality - method1") rbc1 = @spawn betweenness\_centrality(g, ...) println("computing betweenness centrality - met…

---

## [Gallium status](https://discourse.julialang.org/t/gallium-status/3289)

<div class="topic-metadata">

**Author:** [@Nectarineimp](https://discourse.julialang.org/u/Nectarineimp)\
**Replies:** 2\
**Last updated:** [April 27, 2017, 3:55am UTC](https://discourse.julialang.org/t/gallium-status/3289 "2017-04-27T03:55:59Z")

</div>

I see that Gallium hit some big roadblocks with LLVM in 2016. Will that project come back to life sometime soon or is LLVM development still the major roadblock? I wasn’t able to find a discussion giving an indication of…

---

## [Fail to set Gallium breakpoint at a specified line in a file](https://discourse.julialang.org/t/fail-to-set-gallium-breakpoint-at-a-specified-line-in-a-file/2149)

<div class="topic-metadata">

**Author:** [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Replies:** 4\
**Last updated:** [February 18, 2017, 10:54am UTC](https://discourse.julialang.org/t/fail-to-set-gallium-breakpoint-at-a-specified-line-in-a-file/2149 "2017-02-18T10:54:58Z")

</div>

I tried to set a breakpoint at a line in a file by first changing pwd to the folder where the file is and then call breakpoint as follows: julia\> breakpoint("my\_file.jl", 183) Locations (+: active, -: inactive, \*: sourc…

[Previous page](https://discourse.julialang.org/tag/debug/64.md?match_all_tags=true&page=2&tags%5B%5D=debug)
