OpenMSX debugger problem

Par Metalion

Paragon (1589)

Portrait de Metalion

17-09-2022, 18:42

Hi everyone,

Please tell me what I'm doing wrong, because OpenMSX debugger works almost never works when I want to put a breakpoint:
1) I launch OpenMSX catapult
2) I launch OpenMSX debugger
3) I start a rom
4) I connect the debugger to the current session
5) I pause the rom
6) I load the symbol file
7) I go to the symbol line I want to put a breakpoint
8) I click on "Breakpoint -> Toggle"
9) I go to the emulator and click on "Reset MSX"
And then ... nothing happens.
The breakpoint is ignored!
No matter how many times I reset the emulator, the breakpoint is always ignored.

EDIT : OK, I understood the problem. The breakpoint is not set on an address only, but on a combination of slot and address. Which means that I have to set the breakpoint at the address WHEN the correct slot is selected.
oO

!login ou Inscrivez-vous pour poster

Par Bengalack

Hero (660)

Portrait de Bengalack

17-09-2022, 20:54

You can specify slot and other stuff in "Add breakpoint". Not sure why you would want to reset? Adding a breakpoint makes it active instantly Smile

Par pizzapower

Expert (113)

Portrait de pizzapower

18-09-2022, 19:00

Metalion wrote:

EDIT : OK, I understood the problem. The breakpoint is not set on an address only, but on a combination of slot and address. Which means that I have to set the breakpoint at the address WHEN the correct slot is selected.
oO

You can put an "X" on slot and segment when you create the breakpoint, then only the address is used.

Par Metalion

Paragon (1589)

Portrait de Metalion

27-09-2022, 12:19

.