Click here to Skip to main content
15,867,568 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: request recommendation for api record / playback software Pin
BernardIE531719-Mar-23 23:48
BernardIE531719-Mar-23 23:48 
GeneralRe: request recommendation for api record / playback software Pin
Maximilien20-Mar-23 1:44
Maximilien20-Mar-23 1:44 
GeneralRe: request recommendation for api record / playback software Pin
Slacker00720-Mar-23 2:38
professionalSlacker00720-Mar-23 2:38 
GeneralRe: request recommendation for api record / playback software Pin
Single Step Debugger20-Mar-23 2:51
Single Step Debugger20-Mar-23 2:51 
GeneralRe: request recommendation for api record / playback software Pin
Pete O'Hanlon20-Mar-23 3:32
subeditorPete O'Hanlon20-Mar-23 3:32 
GeneralRe: request recommendation for api record / playback software Pin
kmoorevs20-Mar-23 6:43
kmoorevs20-Mar-23 6:43 
GeneralRe: request recommendation for api record / playback software Pin
BernardIE531720-Mar-23 14:05
BernardIE531720-Mar-23 14:05 
GeneralRe: request recommendation for api record / playback software Pin
jschell21-Mar-23 5:28
jschell21-Mar-23 5:28 
BernardIE5317 wrote:
my library/application has nothing to do w/ websites as i know nothing about internet programming . it is a simple interface to local permanent storage . it seems to my surprise an api-record/playback


Ah...

BernardIE5317 wrote:
i still do not understand why such does not exist


Because it is not as easy as you think.

An application that uses libraries is making a call that is controlled by the programming language, compiler and even the OS.

At the most basic level you must do code injection just to interpret the call. This is how debuggers work.
However you also want the values that are being passed in to the call.

So you can do a 'playback'.

Values are passed by the stack however knowing that does not help much with playback because values are often pointers. So you would need to retrieve what is being pointed at.

But how do you know what is being pointed at so you can correctly walk that value to retrieve it? In general there is no way to know where a pointer ends without knowing what it is. And that becomes even worse if the object (space) being pointed to itself contains pointers. Debuggers do this because there is debug information stored (somewhere) that allows them to interpret that data - often dynamically as a user drills down on it.

Further there is another very serious problem. Some values that are passed are not designed to be read twice. For example lazy loaded collections. Even if you managed to reset such a collection after reading it, it is even possible that the api call then might get different values (for example if the collection pulls from a database.)
GeneralRe: request recommendation for api record / playback software Pin
BernardIE531721-Mar-23 16:21
BernardIE531721-Mar-23 16:21 
GeneralRe: request recommendation for api record / playback software Pin
jschell23-Mar-23 5:57
jschell23-Mar-23 5:57 
GeneralRe: request recommendation for api record / playback software Pin
BernardIE531723-Mar-23 8:48
BernardIE531723-Mar-23 8:48 
GeneralRe: request recommendation for api record / playback software Pin
megaadam20-Mar-23 23:55
professionalmegaadam20-Mar-23 23:55 
GeneralRe: request recommendation for api record / playback software Pin
Peter Shaw21-Mar-23 2:34
professionalPeter Shaw21-Mar-23 2:34 
GeneralWordle 639 Pin
StarNamer@work19-Mar-23 14:38
professionalStarNamer@work19-Mar-23 14:38 
GeneralRe: Wordle 639 Pin
Shane010319-Mar-23 17:58
Shane010319-Mar-23 17:58 
GeneralRe: Wordle 639 Pin
Sandeep Mewara19-Mar-23 18:42
mveSandeep Mewara19-Mar-23 18:42 
GeneralRe: Wordle 639 Pin
Amarnath S19-Mar-23 20:31
professionalAmarnath S19-Mar-23 20:31 
GeneralRe: Wordle 639 Pin
OriginalGriff19-Mar-23 20:45
mveOriginalGriff19-Mar-23 20:45 
GeneralRe: Wordle 639 Pin
Peter_in_278019-Mar-23 21:28
professionalPeter_in_278019-Mar-23 21:28 
GeneralRe: Wordle 639 Pin
Sander Rossel19-Mar-23 21:35
professionalSander Rossel19-Mar-23 21:35 
GeneralRe: Wordle 639 Pin
ChandraRam19-Mar-23 21:47
ChandraRam19-Mar-23 21:47 
GeneralRe: Wordle 639 - 4 4 me Pin
pkfox19-Mar-23 22:13
professionalpkfox19-Mar-23 22:13 
GeneralRe: Wordle 639 Pin
Cp-Coder20-Mar-23 0:59
Cp-Coder20-Mar-23 0:59 
GeneralRe: Wordle 639 (3/6) Pin
musefan20-Mar-23 5:18
musefan20-Mar-23 5:18 
GeneralRe: Wordle 639 Pin
Jeremy Falcon20-Mar-23 7:01
professionalJeremy Falcon20-Mar-23 7:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.