Project

General

Profile

Actions

Emulator Issues #12187

open

Shutdown: Breakpoints pause attempt to shutdown dolphin.

Added by taolas over 4 years ago. Updated about 4 years ago.

Status:
Fix pending
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

Actions #1

Updated by JosJuice over 4 years ago

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

Actions #2

Updated by AdmiralCurtiss over 4 years ago

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

Actions #3

Updated by taolas over 4 years ago

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

Actions #4

Updated by JosJuice over 4 years 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?

Actions #5

Updated by taolas over 4 years ago

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

Actions #6

Updated by JosJuice over 4 years 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.)

Actions #7

Updated by JosJuice about 4 years ago

  • Status changed from New to Fix pending
Actions

Also available in: Atom PDF