Re: "AUTOEXEC" - the first line in the history log



Klaus Meinhard пишет:
Steve Fabian wrote:
Since the whole logging concept is beyond COMMAND.COM, there is no
compatibility issue here. I agree with Lucho - this is a minor bug in
4DOS, the simple fix should be made. There is no reason whatsoever to
insert a command not explicitly invoked into the history log.

Are you sure? Have you searched your database of the support forums? It might have been put in to help debugging a crash in the not so elaborate DOS days whereas NT/XP have more sophisticated options.

I think a "post mortem" analysis can be done only where a core dump file can be created, e.g. in Unix (I think not even in Windows). In DOS - no. And for crash debugging during AUTOEXEC execution, the batch debugger is a much better tool. The presence of the AUTOEXEC line in the history log tells only that a crash hadn't occurred before AUTOEXEC execution began. And a 4DOS crash before AUTOEXEC can be debugged with an undocumented /Z switch (/Z1-/Z8 show each 4DOS start stage, and Z9 waits for a keystroke after each stage). For more details, please see the 4DOSTART.ASM source.

Regards,
Lucho
.



Relevant Pages

  • Re: Memory corruption and Dump Stack trace
    ... create a dump file. ... you can use JIT debugging to invoke the debugger ... crashes very randomly and thus hard to reproduce the crash. ...
    (microsoft.public.vc.mfc)
  • Re: General dr.watson
    ... In the Debugging Tools' help, see "Crash Dump Files" section. ... All executables must be built with debug information. ...
    (microsoft.public.vc.debugger)
  • Re: Debuging A MFC project Highily multithreaded and Realtime
    ... Of course, if you wanted to report something meaningful, you would probably specify what ... the crash was, instead of the vague and meaningless term "crash". ... I need some help with debugging a multithreaded application. ...
    (microsoft.public.vc.mfc)
  • Re: trouble with dllhost.exe
    ... Once you DO debug the crash, you can often decipher the object causing the ... No one has yet to figure out how to make general debugging situations like ... > Each High Isolation site will have it's own dllhost.exe, ... >> code since we changed server. ...
    (microsoft.public.inetserver.iis)
  • Re: Access Application Crash
    ... rather than allenbrowne at mvps dot org. ... > I am having a consistent Access Application crash happening when a form ... > calls a certain method on a custom written class. ... After debugging and ...
    (microsoft.public.access.modulesdaovba)