Re: Modifying the arguments to a function is a bad idea



Mark McIntyre wrote:
jacob navia wrote:

After that assignment it is impossible to go to the first line of the
function and restart it, since the original value of a is lost.

I'm not sure I follow. You can't "go to the start" of a function except by calling it again. In which case you can reset the parameter to whatever you want. If you mean "rewind the debugger and rerun the function", surely thats a QOI issue for the debugger- it should store the complete state so it can rewind properly.


Imagine. At each function (sionce the debugger doesn't know if it
will crash) the debugger should stop the program, save the state
(that can be huge) and then go on in case the function crashes
and the user wants to go back!

[snip]


By the way, your mails are overly long. I'm a manager, I can't be bothered to read more than the executive summary and I take the view that if you can't summarise in a side of A4, you don't know what you're talking about.

It shows that you feel that you are "a manager". It shows. You need
to be spoon feed :-)


I will provide an "executive summary" for the posts that I want you to
read. Please disregard the others.

Thanks
.



Relevant Pages

  • Re: Modifying the arguments to a function is a bad idea
    ... except by calling it again. ... In which case you can reset the parameter to whatever you want. ... If you mean "rewind the debugger and rerun the function", surely thats a QOI issue for the debugger- it should store the complete state so it can rewind properly. ... I've heard of systems that allow you to step backwards through the code a machine-code instruction at a time, although I've never actually such systems. ...
    (comp.lang.c)
  • Re: How to reset Symantec AntiVirus Corporate Editon v9.0.0.338?
    ... I had installed Symantec AntiVirus Corporate Editon v9.0.0.338 on ... Now, I lost its password and I would like to reset its, but I do not ... could you please give me some idea how to reset its password? ... Calling an illegal alien an "undocumented worker" is like calling a ...
    (microsoft.public.windows.server.general)
  • debug build crashes when calling managed code
    ... In the debugger, when we call one of their APIs (we're calling a method on a ... The method we're calling takes a reference to an instance ... the stack and then call the method providing a reference to that instance. ...
    (microsoft.public.vc.language)
  • Re: SetPositions() being called at the end of the stream
    ... debugger to see who's calling it. ... quartz.dll is calling this function. ... except at the end of the stream. ... Try putting a breakpoint there and check the call stack in the ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: sqldetach not returning
    ... I tried to debug the problem with a debugger ... but got lost somewhere in the sql library functions. ... Getting lost in the SQL libraries while debugging is normal. ...
    (comp.databases.informix)

Loading