# Infiltrator and Revise

**URL:** https://discourse.julialang.org/t/infiltrator-and-revise/83539
**Category:** General Usage
**Tags:** debug, revise
**Created:** [June 30, 2022, 12:13am UTC](https://discourse.julialang.org/t/infiltrator-and-revise/83539 "2022-06-30T00:13:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)
#### Post date: [June 30, 2022, 12:13am UTC](https://discourse.julialang.org/t/infiltrator-and-revise/83539/1 "2022-06-30T00:13:35Z")

</div>

Hello,

I am currently debugging some functions in a package I am writing for myself. I do the actual code writing in VSCode but I have a REPL open with the package loaded (`using MyPackage`) as well as [`Infiltrator.jl`](https://github.com/JuliaDebug/Infiltrator.jl). There are many nested function calls and I am stepping through the various calls and checking stuff by sprinkling @infiltrate thoughtout my code. I also always startup my julia session with `Revise.jl`.

I find that fairly regularly I will make a change in the source code in VSCode and save the file. I will then try to re-run the function in my open REPL (which I have not closed, still the same session) but it does not see the change I made in the source. I have to do `Revise.retry()` for it to pick it up. I don’t know why but it would be nice if I didn’t have to type that frequently.

Am I doing this wrong or awkwardly? Is there a better way? I can’t use Infiltrator in VSCode and I like having an active REPL available.

I would appreciate any tips or advice.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [July 28, 2022, 4:12pm UTC](https://discourse.julialang.org/t/infiltrator-and-revise/83539/2 "2022-07-28T16:12:08Z")

</div>

This sounds like [`@infiltrate` stops working when Revise encounters parse errors · Issue #45 · JuliaDebug/Infiltrator.jl · GitHub](https://github.com/JuliaDebug/Infiltrator.jl/issues/45). Any chance you can come up with a MWE?
