-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Prevent logging exceptions twice when debugger is opened #15746
Prevent logging exceptions twice when debugger is opened #15746
Conversation
…ng was making the debug session log twice on every request.
Maybe you would like to discuss this with @StevenCostiou ? If Pharo is already logging exceptions, why should the debugger do it also? |
After discussion, we propose to merge this PR and open an issue to specifically discuss the need for a second mechanism. |
Ok, I created another issue for this: #15810 |
I merge as requeted. |
Dang, I've been thinking about saying something about this for a long time, just now getting to it—wish I'd slipped my thoughts in sooner, because: I think, instead, the system should skip the unconditional logging to the file, in |
I like the idea :) |
Actually, I'm going to kinda take that back—but I'm also going to put my actual comment on #15810, since that's the open issue. |
Change logDebuggerStackToFile default setting to false since when set to true, it makes the debug session log twice on every request as reported in #15620.