English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 14 January 2022, 10:33   #1
Steve
I Identify as an Ewok
 
Steve's Avatar
 
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,356
WinUAE debugger question

Quick question. When you're stepping through code in the debugger using F11/F12 it doesn't seem to update the main WinUAE display? Is it meant to work like this? I was hoping to see the image updated as I stepped through the code.
Steve is offline  
Old 14 January 2022, 12:17   #2
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
That sounds like you're using the GUI-debugger which is outdated and not supported anymore.
StingRay is offline  
Old 14 January 2022, 12:27   #3
Steve
I Identify as an Ewok
 
Steve's Avatar
 
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,356
Quote:
Originally Posted by StingRay View Post
That sounds like you're using the GUI-debugger which is outdated and not supported anymore.
Yes I'm using the GUI version. So I should use the command line version instead? Not sure how to step through on that one.

Last edited by Steve; 14 January 2022 at 12:54.
Steve is offline  
Old 14 January 2022, 13:40   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Double buffering adds one frame of delay but even if it is bypassed when debugger is active, you still won't get immediate results:

Virtual electron beam is almost surely located many scanlines from location you modified. Unless you race the beam with CPU for some strange reason
Toni Wilen is offline  
Old 14 January 2022, 15:43   #5
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by Steve View Post
Not sure how to step through on that one.

"t" to single step and also enter function calls, "z" to single step without entering function calls. You can use "?" to display a help with the available debugger commands.
StingRay is offline  
Old 14 January 2022, 17:00   #6
Steve
I Identify as an Ewok
 
Steve's Avatar
 
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,356
Quote:
Originally Posted by Toni Wilen View Post
Double buffering adds one frame of delay but even if it is bypassed when debugger is active, you still won't get immediate results:

Virtual electron beam is almost surely located many scanlines from location you modified. Unless you race the beam with CPU for some strange reason
Haha. I'm not sure how to race the beam. lol. Just trying to solve an issue I have with one of my HDFs.

Quote:
"t" to single step and also enter function calls, "z" to single step without entering function calls. You can use "?" to display a help with the available debugger commands.
Thanks that helped. I'll have to do more digging with my issue. Getting infinite exceptions. lol.
Attached Thumbnails
Click image for larger version

Name:	swos_error.png
Views:	65
Size:	33.8 KB
ID:	74398  
Steve is offline  
Old 15 January 2022, 18:19   #7
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Might be worth mentioning the problem you are having and maybe adding logs for when it's doing it..

I'm not saying Toni will look at it as he's having fun with the current beta at this moment but there's some very advanced users on here (not me) who may be able to offer help.
Mclane is offline  
Old 15 January 2022, 18:38   #8
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,099
Quote:
Originally Posted by Steve View Post
Haha. I'm not sure how to race the beam. lol. Just trying to solve an issue I have with one of my HDFs.

Thanks that helped. I'll have to do more digging with my issue. Getting infinite exceptions. lol.

Those are level 1, 2 and 3 interrupts, so not too unexpected. You'll see that if you e.g. try to 'z' past a branch that's always taken. 'z' just sets a breakpoint on the following instruction (even if it doesn't make sense, e.g. for RTS), so if that's never hit it'll just keep printing whatever exceptions occur. Press shift+f12 and try again
paraj is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
When closing the WinUAE debugger, WinUAE closes. Photon support.WinUAE 2 21 September 2021 20:07
Console debugger n00b question Ami030 support.FS-UAE 0 29 December 2019 12:28
Debugger updates (was: WinUAE Debugger HH PC history) selco support.WinUAE 8 14 March 2018 22:27
WinUAE Debugger help Jherek Carnelia Coders. General 3 26 May 2007 15:52
WinUAE Debugger ???? RetroMan support.WinUAE 2 27 January 2004 12:17

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:33.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07991 seconds with 16 queries