{"repo":"JuliaDebug/Infiltrator.jl","free":true,"listed":false,"github":"https://github.com/JuliaDebug/Infiltrator.jl","clone":"git clone https://github.com/JuliaDebug/Infiltrator.jl.git","description":"No-overhead breakpoints in Julia","language":"Julia","stars":496,"topics":["julia","debugging","breakpoint"],"license":"MIT","category":"dev-tools","readme_excerpt":"Infiltrator.jl This packages provides the @infiltrate macro, which acts as a breakpoint with negligible runtime performance overhead. Note that you cannot access other function scopes or step into further calls. Use an actual debugger if you need that level of flexibility. Running code that ends up triggering the @infiltrate REPL mode via inline evaluation in VS Code or Juno can cause issues, so it's recommended to always use the REPL directly. @infiltrate @infiltrate sets an infiltration point. When the infiltration point is hit, it will drop you into an interactive REPL session that lets you inspect local variables and the call stack as well as execute arbitrary statements in the context of the current local and global scope. The optional argument cond only enables this infiltration point if it evaluates to true , e.g. You can also use to infiltrate package code without any post-hoc evaluation into the module (because the functional form does not require Infiltrator to be loaded at compiletime). The safehouse Exfiltrating variables (with @exfiltrate or by assignment in an @infiltrate session) happens by assigning the variable to a global storage space (backed by a module); any exfiltrated objects can be directly accessed, via Infiltrator.store or its exported aliases safehouse or exfiltrated : You can reset the safehouse with Infiltrator.clear store!() . You can also assign a specific module with Infiltrator.set store!(mod) . This allows you to e.g. set the backing module t","default_branch":null,"files":null,"tree":[],"storefront":"/r/JuliaDebug","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JuliaDebug/Infiltrator.jl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}