Re: VC7 debugger
From: Oleg Starodumov (oleg_staro_at_hotmail.com)
Date: 03/23/04
- Next message: Oleg Starodumov: "Re: autoexp.dat doesn't work"
- Previous message: Oleg Starodumov: "Re: Can't Get Debugger To Stop At A Breakpoint in VC++"
- In reply to: Ramesh: "VC7 debugger"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 14:03:56 +0200
> I have built a DLL in debug version.
> It runs fine when run from IDE but when I run the same debug dll from
> command line it crashes.
>
Probably the best solution is to attach a debugger to the application
when it crashed, and see why it crashed.
When running from IDE and without it, the following things can differ:
* Working directory
* Command line parameters
* Environment variables
If the problem is that the application/DLL works under debugger
but fails without debugger, some additional reasons are possible:
* Heap layout can be different when running under debugger and
without it (if Win32 heap is used, which is almost always true on
NT/2000/XP/2003 systems). Check for heap corruption.
* Unexpected thread serialization when running under debugger
(so that synchronization problems appear only when running without debugger).
Timing in general can also be different -> timing related problems
can appear.
Regards,
Oleg
- Next message: Oleg Starodumov: "Re: autoexp.dat doesn't work"
- Previous message: Oleg Starodumov: "Re: Can't Get Debugger To Stop At A Breakpoint in VC++"
- In reply to: Ramesh: "VC7 debugger"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|