Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[debugger]: add log for completed init #445

Merged
merged 1 commit into from
Dec 13, 2022
Merged

Conversation

awwalker
Copy link
Contributor

@awwalker awwalker commented Dec 8, 2022

In my anecdotal experience the time between starting the debugger and the initialization actually completing is long enough that attempting to add breakpoints and re-trigger a function often completes before the debugger has registered. This adds a log to the buffer for the completed initialization so you know when the debugger will be active.

; --------------------------------------------------------------------------------
; Initialising CIDER debugger
; --------------------------------------------------------------------------------
; eval (root-form): (add 5 9)
14
; --------------------------------------------------------------------------------
; eval (current-form): (defn add [a b] #break (+ a b))
#'scratch.visa-settlement/add
; --------------------------------------------------------------------------------
; eval (root-form): (add 5 9)
; --------------------------------------------------------------------------------
; CIDER debugger initialized
...

@Olical Olical merged commit fa126d3 into Olical:develop Dec 13, 2022
@Olical
Copy link
Owner

Olical commented Dec 13, 2022

This is neat, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants