09 December 2020, 22:42 | #1 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,842
|
Stack im sync how to?
Say you’re debugging a program that is messing around with the stack that is leading to a software failure. Is there’s a tool that trace each time a register is pushed into the stack and retrieved from the stack (or many) to be able to track down such bug? I’m not sure I’m clear...
|
10 December 2020, 08:50 | #2 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,310
|
No. If the number of register pops is not identical to the number of register pushes, you would typically crash by running into a return address that isn't one. But at that point, it is already too late. If the "return address" is invalid, the MuGA will give you a hit. WIth a stack traceback, you have a chance that you know at least parts of the call-path.
|
10 December 2020, 20:07 | #3 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,842
|
Thanks I’ll try Muga.
|
11 December 2020, 21:52 | #4 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,842
|
Ok I found the issue, there was a movem to the stack but the minus before (sp) was missing
I didn’t understand why the program crashed randomly, in fact it was working by chance because the version number of intuition, graphics and diskont library were not set !!! Last edited by kamelito; 11 December 2020 at 23:17. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
G-sync / Freesync support (adaptive sync) | demolition | support.WinUAE | 32 | 01 July 2019 10:57 |
SimpleMail 0.43 not sync | xboxown | support.Apps | 1 | 23 October 2017 01:58 |
Stack available | mritter0 | Coders. General | 4 | 03 August 2014 18:31 |
Stack Up | Galaxy | request.Old Rare Games | 5 | 08 September 2004 03:06 |
V-sync Problem | bigly | support.WinUAE | 6 | 12 September 2002 17:17 |
|
|