3 ms·
Sure! 'C' in the debug REPL enters compiled mode. https://github.com/JuliaDebug/Debugger.jl#compiled-mode https://github.com/JuliaDebug/Debugger.jl#compiled-mo
by Sukera 7y ago
Sure! 'C' in the debug REPL enters compiled mode.
https://github.com/JuliaDebug/Debugger.jl#compiled-mode https://github.com/JuliaDebug/Debugger.jl#compiled-mode
- elcritch 7y agoThanks! Didn’t even know that was a thing.
- UncleOxidant 7y agoI guess what I don't understand is this part (regarding the compiled mode): "The drawback is of course that breakpoints in code that is stepped over are missed." what exactly does that mean?
- StefanKarpinski 7y agoIt means that if you would have hit a breakpoint in code that is run in compiled mode, the breakpoint doesn't trigger—because it's being run normally at full speed without breakpoints, not being interpreted in the debugger (which knows about breakpoints).
- UncleOxidant 7y agoI read this as in compiled mode breakpoints don't trigger at all. Is that correct? Edit: Ok, I tried out compiled mode and it does stop at my breakpoint. The verbage in the documentation is a bit difficult to understand on this point. I'd guess you need to first set your breakpoints prior to going into compile mode?
- mkborregaard 7y agoLearning a lot from this thread, seems really usfeul