Software Testing Tip – How to Check Windows 11 Crash Log

Motivation: Getting crash logs and attaching it to bug report is one of sufficient and effective way to help DEV team debug and find the root cause quickly.

Question: How to know or recognize that the application is crashed on Windows?

  • That is the application stops working and closes/exits suddenly.

How to get crash log:

  • Click the Windows icon, type E to see “Event Viewer” and then click the best-matched app to open it.
  • On the left navigation pane, click Windows Logs > Application. The Windows crash logs are usually classified into the Application category. In the middle pane, system events are listed. There are 5 types of events.
  • Information: It is created once an operation goes through successfully. Logs with this entry usually mean the event occurred without incident or issue.
  • Verbose: It represents a progress or success message for a specific event.
  • Warning: It is created when Windows finds a potential issue with the system, but this issue usually does not pose an imminent risk.
  • Error: It indicates a major problem and means that a device may have failed to load or operate expectedly. Windows crashing belongs to this type.
  • Critical: It indicates the most severe problems.

Below is the example:

Now, you, test engineer, needs to copy or take a snapshot to attach to your bug report. Your developer will thank you so much! Good Luck! (^_^)

Detail for this bug report:

Bug summary: The application crashes when pressing the button without inputting

Application: SoNgayTrongThang.exe
CoreCLR Version: 8.0.23.53103
.NET Version: 8.0.0
Description: The process was terminated due to an unhandled exception.
Exception Info: System.FormatException: The input string ” was not in a correct format.
at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)
at System.Int32.Parse(String s)
at SoNgayTrongThang.MainWindow.ButtonTinhSoNgayTrongThang_Click(Object sender, RoutedEventArgs e) in D:\ISTQB\sourcecode\Songaytrongthang\SoNgayTrongThang\MainWindow.xaml.cs:line 68
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at SoNgayTrongThang.App.Main()

852 thoughts on “Software Testing Tip – How to Check Windows 11 Crash Log

  1. I just could not depart your web site prior to suggesting that I really loved the usual info an individual supply in your visitors Is gonna be back regularly to check up on new posts

  2. I loved as much as youll receive carried out right here The sketch is tasteful your authored material stylish nonetheless you command get bought an nervousness over that you wish be delivering the following unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this hike

  3. I loved as much as you will receive carried out right here The sketch is attractive your authored material stylish nonetheless you command get got an impatience over that you wish be delivering the following unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this hike

  4. Attractive section of content I just stumbled upon your blog and in accession capital to assert that I get actually enjoyed account your blog posts Anyway I will be subscribing to your augment and even I achievement you access consistently fast

  5. I loved as much as you will receive carried out right here The sketch is attractive your authored material stylish nonetheless you command get got an impatience over that you wish be delivering the following unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this hike

  6. Somebody essentially help to make significantly articles Id state This is the first time I frequented your web page and up to now I surprised with the research you made to make this actual post incredible Fantastic job

  7. What i dont understood is in reality how youre now not really a lot more smartlyfavored than you might be now Youre very intelligent You understand therefore significantly in terms of this topic produced me personally believe it from a lot of numerous angles Its like women and men are not interested except it is one thing to accomplish with Woman gaga Your own stuffs outstanding Always care for it up

  8. I do agree with all the ideas you have introduced on your post They are very convincing and will definitely work Still the posts are very short for newbies May just you please prolong them a little from subsequent time Thank you for the post

  9. Thanks I have just been looking for information about this subject for a long time and yours is the best Ive discovered till now However what in regards to the bottom line Are you certain in regards to the supply

  10. I do not even know how I ended up here but I thought this post was great I do not know who you are but certainly youre going to a famous blogger if you are not already Cheers

  11. Simply desire to say your article is as surprising The clearness in your post is simply excellent and i could assume you are an expert on this subject Fine with your permission let me to grab your feed to keep up to date with forthcoming post Thanks a million and please carry on the gratifying work

  12. Its like you read my mind You appear to know so much about this like you wrote the book in it or something I think that you can do with a few pics to drive the message home a little bit but other than that this is fantastic blog A great read Ill certainly be back

  13. Ive read several just right stuff here Certainly price bookmarking for revisiting I wonder how a lot effort you place to create this kind of great informative website

  14. I’ll right away snatch your rss as I can not in finding your e-mail subscription hyperlink or newsletter service.
    Do you’ve any? Please let me recognise in order that I may subscribe.

    Thanks.

  15. Eminem, настоящее имя Маршалл Брюс Мэтерс III, известен как один из величайших рэп-исполнителей всех времен. Своими пронзительными текстами, ярким стилем и потрясающим мастерством в ритме и рифме он завоевал миллионы поклонников по всему миру. Его лучшие песни включают “Lose Yourself”, гимн к само-преодолению, “Stan”, с поразительно интенсивным сюжетом, и “Rap God”, где он демонстрирует свою невероятную скорость и технику. Все эти треки, а также многие другие, отражают его гениальность и влияние на музыкальную индустрию. Скачать mp3 музыку 2024 года и слушать онлайн бесплатно.

  16. Hello Neat post Theres an issue together with your site in internet explorer would check this IE still is the marketplace chief and a large element of other folks will leave out your magnificent writing due to this problem

  17. Wow superb blog layout How long have you been blogging for you make blogging look easy The overall look of your site is magnificent as well as the content

  18. Wow, fantastic blog layout! How long have you been running a blog for?
    you made blogging glance easy. The full look of your web site
    is great, as well as the content! You can see similar here sklep online

  19. <