debugger will crash if i hit F5 or ctrl+F5, but works fine if i debug from outside the msdev (say explorer) 
Author Message
 debugger will crash if i hit F5 or ctrl+F5, but works fine if i debug from outside the msdev (say explorer)

Hi All,

  this question i had asked for some times before, but seems no body answered.

first if i try to run the application from IDE, like hit F5. then the msdev.exe
will crashed, the callstack is as shown in the attachment.
however, if i hit Ctrl+F5 to run my application from IDE, and my application
meets some exception or assertion, and i got a chance to fire up the de{*filter*}
will die as well.
the callstack log is the same as the F5 case.

However, if i start my exe from explorer, and it meets some exception, and i try
to fire up the de{*filter*}, the de{*filter*} will be able to run and give me my
applications callstack. and the point where i encounter bug. in this case, if i
stop the de{*filter*} and hit f5 again, msdev will work fine and i can step into the
code as well.

any one out there has encounter such a problem? is this a bug of msdev.exe?
however, this will not happened if debugging a very simple project.

TIA,
Roger

[ callstack.txt 4K ]
DEVDBG! 50c22652()
DEVDBG! 50c224f1()
CWnd::WindowProc(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 5, unsigned int 0, long 14942937) line 1585 + 27 bytes
DEVDBG! 50c22125()
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x02e40098, unsigned int 5, unsigned int 0, long 14942937) line 218
AfxWndProc(HWND__ * 0x02e40098, unsigned int 5, unsigned int 0, long 14942937) line 368
AfxWndProcBase(HWND__ * 0x02e40098, unsigned int 5, unsigned int 0, long 14942937) line 220 + 21 bytes





CWnd::DefWindowProcA(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 71, unsigned int 0, long 1239968) line 1006 + 19 bytes
CWnd::WindowProc(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 71, unsigned int 0, long 1239968) line 1586 + 19 bytes
DEVDBG! 50c22125()
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x02e40098, unsigned int 71, unsigned int 0, long 1239968) line 218
AfxWndProc(HWND__ * 0x02e40098, unsigned int 71, unsigned int 0, long 1239968) line 368
AfxWndProcBase(HWND__ * 0x02e40098, unsigned int 71, unsigned int 0, long 1239968) line 220 + 21 bytes




DEVSHL! 5003491b()
DEVSHL! 500358c5()
CWnd::WindowProc(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 5, unsigned int 0, long 15336177) line 1585 + 27 bytes
DEVSHL! 500bd9ae()
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x03460296, unsigned int 5, unsigned int 0, long 15336177) line 218
AfxWndProc(HWND__ * 0x03460296, unsigned int 5, unsigned int 0, long 15336177) line 368
AfxWndProcBase(HWND__ * 0x03460296, unsigned int 5, unsigned int 0, long 15336177) line 220 + 21 bytes





CWnd::DefWindowProcA(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 71, unsigned int 0, long 1241020) line 1006 + 19 bytes
CWnd::WindowProc(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 71, unsigned int 0, long 1241020) line 1586 + 19 bytes
DEVSHL! 500bd9ae()
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x03460296, unsigned int 71, unsigned int 0, long 1241020) line 218
AfxWndProc(HWND__ * 0x03460296, unsigned int 71, unsigned int 0, long 1241020) line 368
AfxWndProcBase(HWND__ * 0x03460296, unsigned int 71, unsigned int 0, long 1241020) line 220 + 21 bytes




DEVSHL! 5005213e()
DEVSHL! 500515ed()
DEVSHL! 50054751()
DEVSHL! 500c348d()
DEVSHL! 5008cd9e()
DEVDBG! 50c40cbe()
DEVDBG! 50c1e8b6()
DEVDBG! 50c1f1fa()
DEVDBG! 50c31059()
MFC42! 5f4023d8()
MFC42! 5f4022ae()
DEVDBG! 50c1dc1a()
DEVSHL! 50088abb()
CFrameWnd::OnCmdMsg(CFrameWnd * const 0x00000000 {CFrameWnd hWnd=???}, unsigned int 34707, int 0, void * 0x00000000, AFX_CMDHANDLERINFO * 0x00000000) line 903 + 23 bytes
CWnd::OnCommand(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 0, long 0) line 2087 + 13 bytes
CFrameWnd::OnCommand(CFrameWnd * const 0x00000000 {CFrameWnd hWnd=???}, unsigned int 34707, long 0) line 320 + 15 bytes
CWnd::OnWndMsg(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 273, unsigned int 34707, long 0, long * 0x0012fc24) line 1597 + 14 bytes
CWnd::WindowProc(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 273, unsigned int 34707, long 0) line 1585 + 27 bytes
AfxCallWndProc(CWnd * 0x00000000 {CWnd hWnd=???}, HWND__ * 0x048c0686, unsigned int 273, unsigned int 34707, long 0) line 218
AfxWndProc(HWND__ * 0x048c0686, unsigned int 273, unsigned int 34707, long 0) line 368
AfxWndProcBase(HWND__ * 0x048c0686, unsigned int 273, unsigned int 34707, long 0) line 220 + 21 bytes
DEVSHL! 5008be66()
CWnd::OnWndMsg(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 273, unsigned int 34707, long 0, long * 0x0012fda8) line 1597 + 14 bytes
CWnd::WindowProc(CWnd * const 0x00000000 {CWnd hWnd=???}, unsigned int 273, unsigned int 34707, long 0) line 1585 + 27 bytes
DEVSHL! 5008c36b()
AfxWndProc(HWND__ * 0x00f400cc, unsigned int 273, unsigned int 34707, long 0) line 368
AfxWndProcBase(HWND__ * 0x00f400cc, unsigned int 273, unsigned int 34707, long 0) line 220 + 21 bytes


DEVSHL! 50088f65()



Tue, 08 Jul 2003 01:39:43 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. debugger will crash if i hit F5 or ctrl+F5, but works fine if i debug from outside the msdev (say explorer)

2. Speed difference between Ctrl+F5 and F5?

3. ctrl-F5 and F5 in VC 6.0 for C++ Console Applications

4. ctrl-F5 and F5 in VC 6.0 for C++ Console Applications

5. Difference betwwen F5 & ctrl F5

6. Differences between F5 and CTRL-F5

7. Speed difference between Ctrl+F5 and F5?

8. Differences between F5 and CTRL-F5

9. Difference between F5 and Ctrl F5

10. Differences between F5 and CTRL-F5

11. Differences between F5 and CTRL-F5

12. f5 vs cntl+f5 (debug vs execute)

 

 
Powered by phpBB® Forum Software