![]() |
![]() |
#1 |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
WinUAE how to break on an exception?
How can I ask the debugger to stop on an exception, such as an Address Error?
My googling suggests that "il FFFF" should work for all common exceptions, but it doesn't, I still get the Software Failure dialog followed by a Guru. |
![]() |
![]() |
#2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
Try "il" without parameters, it enables all exceptions except interrupts.
|
![]() |
![]() |
#3 |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
That doesn't work for me, and I really don't know what I'm doing wrong.
I press Shift-F12 to enter the debugger, then: Code:
>il Exception breakpoint mask: FFFFFFFF 00FFFFFF >g Code:
... move.w 3, d0 ... What am I missing? |
![]() |
![]() |
#4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
Right, it does not work as expected.. I later added test that checks if exception was caused by rom code (Exec uses privilege violation to enter supervisor mode) because it would make this very annoying to use. Unfortunately it checked if PC is in ROM after exception has been processed.. Fixed..
I didn't notice it because I usually simply set breakpoint to expected exception vector(s). |
![]() |
![]() |
#5 |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
F-line exception bug? | jarp | support.WinUAE | 7 | 22 July 2017 13:31 |
2700b7+ Exception 3 with 68000 more compatible | PeterK | support.WinUAE | 2 | 11 January 2014 20:16 |
Exception 0 | vriviere | support.WinUAE | 9 | 25 June 2012 14:36 |
** CHK Exception ** | CmdrVimes | Coders. General | 2 | 17 September 2010 16:14 |
Warranty seal on a mint A500: To break or not to break? | StevenJGore | support.Hardware | 16 | 11 February 2009 23:21 |
|
|