25 December 2015, 10:34 | #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. |
25 December 2015, 14:38 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Works for me. There is also no debugger changes.
-> Config is always required. Test case is required. It never is that simple. |
25 December 2015, 14:42 | #3 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
Ok, this is my config and test file.
|
25 December 2015, 14:49 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
It works for me. (exe in df0. Perhaps you have some cache setup stuff in your HD installation? Cache, especially 68040+ instruction cache can cause side-effects.
|
25 December 2015, 14:54 | #5 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
Video about the bug:
[ Show youtube player ]
|
25 December 2015, 15:50 | #6 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
|
25 December 2015, 16:11 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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? |
25 December 2015, 16:16 | #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. |
||
25 December 2015, 18:04 | #9 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
...but "z" step is working. Video:
[ Show youtube player ]
|
26 December 2015, 15:30 | #10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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 |
26 December 2015, 15:36 | #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? |
26 December 2015, 16:04 | #12 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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!) |
|
26 December 2015, 16:20 | #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... |
26 December 2015, 17:59 | #14 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
you could put a breakpoint instead with "f".
BTW Toni I tried "fi NOP" and it did not work great tool besides that!! lacks some ergonomy/resizable windows but you can't have everything. |
26 December 2015, 18:45 | #15 |
Registered User
Join Date: Jan 2015
Location: Belarus
Posts: 44
|
|
26 December 2015, 19:04 | #16 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
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) |
||
26 December 2015, 21:00 | #17 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,163
|
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 | |
Similar Threads | ||||
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 |
|
|