# What is your DispatchDoctor workflow?

**URL:** https://discourse.julialang.org/t/what-is-your-dispatchdoctor-workflow/132362
**Category:** General Usage
**Tags:** question
**Created:** [September 14, 2025, 2:57am UTC](https://discourse.julialang.org/t/what-is-your-dispatchdoctor-workflow/132362 "2025-09-14T02:57:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)
#### Post date: [September 14, 2025, 2:57am UTC](https://discourse.julialang.org/t/what-is-your-dispatchdoctor-workflow/132362/1 "2025-09-14T02:57:29Z")

</div>

I wonder what ways people have found to use DispatchDoctor.jl?

I’m wondering how to wrap large sections of code. For example an entire module. Each file in my package contains a module. The most convenient is to do

```julia-auto
@stable module ModA
...
end # module ModA

```

This works. But if I am using `Revise`, then editing any code in anyway causes an error and my prompt goes yellow and stays that way:

```julia-auto
$(Expr(:error, "\"module\" expression not at top level"))

```

`@stable` on a module also causes `@which f(x)` to show line number `0`.

These might be bugs, or simply the state of the package currently. I remove `@stable` while working on the package, so that I can use Revise. I suppose I can run it now and then.

Even though the work flow is a bit slow, it’s been useful. DispatchDoctor caught a few instabilities.
