Project

General

Profile

Emulator Issues #12187

Shutdown: Breakpoints pause attempt to shutdown dolphin.

Added by taolas 29 days ago. Updated 26 days ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

Set a code breakpoint near PC. Click the X to close dolphin. The code breakpoint will trigger and Dolphin won't continue the shutdown.
If you remove the breakpoints and hit play, the shutdown will finish.

Expected behavior: ignore breakpoints and shutdown.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Latest: 12247

History

#1 Updated by JosJuice 29 days ago

Does this happen with both GC and Wii, or only Wii?

#2 Updated by Pikachu025 29 days ago

Yeah I've seen this too, it's on Wii due to the shutdown request thing.

#3 Updated by taolas 27 days ago

Good call, GC is fine. Only Wii has the bug for me.

#4 Updated by JosJuice 27 days ago

If so, this isn't really a bug. It happens because we want to perform a clean shutdown in case there is some data the game only saves on a clean shutdown, and doing a clean shutdown requires continuing execution for a little while.

I believe Dolphin has the ability to press the close button twice to force an immediate shutdown. Does that work for you?

#5 Updated by taolas 26 days ago

It works if you hit it twice. However, can't shutdown simply disable/ignore breakpoints?

#6 Updated by JosJuice 26 days ago

I suppose we could add a condition to disable all breakpoints when trying to shut down Dolphin, yeah. (Though we shouldn't do so while shutting down just the game and not Dolphin, in case you want to debug code that only runs on shutdown.)

Also available in: Atom PDF