![]() |
![]() |
#1 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
Debugger doesn't work (v3.2.2.0)
Steps ("t", "t 1") doesn't work in 3220.
P.S. Make an infinite loop, allow to debugger stick there, then return original bytes, and try to step. It will do nothing. In previous version it works. Last edited by Dr. MefistO; 25 December 2015 at 11:43. |
![]() |
![]() |
#2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Works for me. There is also no debugger changes.
-> Config is always required. Test case is required. It never is that simple. |
![]() |
![]() |
#3 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
Ok, this is my config and test file.
|
![]() |
![]() |
#4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
It works for me. (exe in df0
![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
Video about the bug:
[ Show youtube player ]
|
![]() |
![]() |
#6 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
|
![]() |
![]() |
#7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
It is not about clearing or not but trying to duplicate your config. Always try without HD because it can change lots of things.
Boot without startup-sequence or remove your harddrive and insert the exe in df0:, does it work now? Then boot without startup-sequence, run setpatch, does it still work? |
![]() |
![]() |
#8 | ||
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
I don't have any startup-sequences.
Quote:
Quote:
P.S. I have tried to change CPU type, but without success. Last edited by Dr. MefistO; 25 December 2015 at 16:25. |
||
![]() |
![]() |
#9 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
...but "z" step is working. Video:
[ Show youtube player ]
|
![]() |
![]() |
#10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Wait a minute, you modify the code in debugger and you never mentioned it?
That surely won't work because CPU cache does not see the modification, just like real CPU will not see it. (68040+ probably didn't emulate cache at all in older version without cycle exact mode, thats probably why it appeared to work previously) Switch off "more compatible" to disable CPU cache emulation. Or disable/flush caches, just like you would do it with real hardware. But don't ask in this thread, it has nothing to do with emulation and it is not my problem ![]() |
![]() |
![]() |
#11 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
CPU mode is not important to me. So, I just want to use this situation normally.
What I should to do then? |
![]() |
![]() |
#12 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Quote:
And what are you exactly trying to do? Unless you didn't mention something else, running your test program, breaking to debugger, then using "t" works as expected for me. Exact steps are needed. (Not a video!) |
|
![]() |
![]() |
#13 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
I want to break at the first instruction of not my program (console program).
I have replaced first 2 bytes with infinite loop. Then, after restoration of these bytes, I want to do one step (step into). But, as you see in this video, it doesn't work for me. CPU is not important for me, I just want to break and step (at any CPU). P.S. Without "More compatible" it works. =) Hmm... |
![]() |
![]() |
#14 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,368
|
you could put a breakpoint instead with "f".
BTW Toni I tried "fi NOP" and it did not work ![]() |
![]() |
![]() |
#15 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
|
![]() |
![]() |
#16 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Quote:
Quote:
For example "w 0 100 4 w" will break when writing to address range $100-$103. (note that I don't use "gui" debugger, it is totally unsupported. xx to switch modes) |
||
![]() |
![]() |
#17 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,368
|
Thanks Toni.
With lowlevel stuff, the WinUAE debugger is the only one that works. All other monitors stumble on classic amiga problems (display,timers) + JIT. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Zool 2 just doesn't work | apachacha | support.WinUAE | 7 | 24 July 2011 18:43 |
XetecCDFS doesn't work! | TjLaZer | request.Apps | 17 | 14 July 2008 17:46 |
Entity doesn't work | Another World | support.Games | 10 | 14 May 2007 11:49 |
Flashback doesn't work ???!!!! | Another World | support.Games | 8 | 27 April 2007 21:32 |
My keyboard doesn't work!!!! | Unregistered | support.WinUAE | 3 | 08 January 2005 10:07 |
|
|