Forum Discussion

Haiyangwhu's avatar
Haiyangwhu
Contributor
12 years ago

Test complete prevents dump file to be generated?

Hi there,



I have window error reporting configuation set in Registry to generate dump file when mysqld.exe crashes.



Dump file will be generated when mysqld.exe crashes in manual steps. But no dump file will be generated when mysqld.exe crashes in automation case running in TestComplete.



There are different events in EventViewer between situations mysqld.exe crashed by manual steps  and by automation steps.



It looks like TestComplete is preventing dump file to be generated when mysqld.exe crashed. Why?



And how to generate dump file when mysqld.exe crashes in automation case?



Environments:

TestComplete 9.1

Windows 7



Thanks,

Ocean

1 Reply

  • I have successfully got dump file by using DbgServices plug-in to trace events for mysql.exe.



    DbgServices.AttachToProcess(Sys.Process("mysqld"));