English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 18 November 2010, 19:15   #1
Zbir
 
Posts: n/a
Watchpoints in debugger

Why can I set only 8 watchpoints (0-7)? Is it set somewhere and can it be increased? Usually it's enough but I'd like to use much more and I don't have such a possibility. Is there a chance that this number will be increased?
 
Old 21 November 2010, 14:39   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Explain why do you need more and I'll think about it
Toni Wilen is offline  
Old 21 November 2010, 20:20   #3
Zbir
 
Posts: n/a
Thanks for taking a look at my simple suggetsion. As I have wrtiten 7 is usually enough and it's hard for me to remember when exactly I had not enough.
As a more general example - deep trainer. I needed about 30 watchpoints to block all of the features I was interested in the game (e.g. constant fire).
I think that you can use it for more 'pro' purposes.

I really appreciate that you added watchpoint loading, but it s a pity that you have to activate it again and again in debugger after closing WinUAE ('w' command).

I didnt report it in bug reports, because I figured that you've wanted it to be that way but having the possibility to change it in the Input tab would be a pleasure, to assign the activation to one key.

Oh, and one question - is there a simple way of detecting collisions in debugger? I couldnt find an example in EAB of how someone can block collision (for instance to stop characters of being killed in Cannon Foddder 1, then they could not be reached by grenade or bullets)
 
Old 21 November 2010, 20:24   #4
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,987
Quote:
Originally Posted by Zbir View Post
Thanks for taking a look at my simple suggetsion. As I have wrtiten 7 is usually enough and it's hard for me to remember when exactly I had not enough.
As a more general example - deep trainer. I needed about 30 watchpoints to block all of the features I was interested in the game (e.g. constant fire).
I think that you can use it for more 'pro' purposes.

I really appreciate that you added watchpoint loading, but it s a pity that you have to activate it again and again in debugger after closing WinUAE ('w' command).

I didnt report it in bug reports, because I figured that you've wanted it to be that way but having the possibility to change it in the Input tab would be a pleasure, to assign the activation to one key.

Oh, and one question - is there a simple way of detecting collisions in debugger? I couldnt find an example in EAB of how someone can block collision (for instance to stop characters of being killed in Cannon Foddder 1, then they could not be reached by grenade or bullets)
You're going about training Cannon Fodder the wrong way if you're trying to do it by collision detection.
Galahad/FLT is offline  
Old 21 November 2010, 20:33   #5
Zbir
 
Posts: n/a
Quote:
Originally Posted by Galahad/FLT View Post
You're going about training Cannon Fodder the wrong way if you're trying to do it by collision detection.
Oh, so now I know why altering collision level didnt work thanks for your suggestion - I have to check how is it made in the floppy trainer
 
Old 21 November 2010, 20:42   #6
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,987
Quote:
Originally Posted by Zbir View Post
Oh, so now I know why altering collision level didnt work thanks for your suggestion - I have to check how is it made in the floppy trainer
Just use logic. If theres no 'life' counter to find energy for the character, try finding where the game stores the amount of Grenades remaining. Quite often, games programmers store lots of stuff like that quite close together, so chances are, if you find the grenade location, you'll probably find the life counter nearby.
Galahad/FLT is offline  
Old 22 November 2010, 18:56   #7
Zbir
 
Posts: n/a
Thanks Galahad for your accurate suggestion - I've already discovered what the value should be. For those interested:
01 -> dead
00 -> alive


I hope Toni that my justification will satisfy you . About watchpoints activation - I would also like them to activate automatically after loading uss file.

Reason - I gave it above, if I save them logic tells us that we want them to be loaded by default after reading a file. E.g. if I dont activate watchpoints on time than the game will change values that I want to freeze and even if I activate a watchpoint I ahve to load uss again - it is a bit inconvenient so I hope that if you have good mood youll maybe do sth ab it.
 
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freezing watchpoints not working Genju support.WinUAE 3 13 April 2015 12:31
Best debugger for KS3.1? copse Coders. Asm / Hardware 20 06 April 2012 07:13
Need help using the WinUAE Debugger Steve support.WinUAE 9 10 January 2009 20:00
WinUAE Debugger BippyM support.WinUAE 7 02 April 2008 07:59
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 17:50.

Top

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