Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I want to check the error log on Windows.
Forum Updated to NodeBB v4.3 + New Features

I want to check the error log on Windows.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 229 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LISP
    wrote on last edited by
    #1

    Hello
    I want to check the error log on Windows.
    I made a pointer variable from the qt source code.
    And the pointer variable is not initialized. (Error Caused)
    I ran the program and used the pointer variable.
    I caused the error on purpose.
    Because it is to get the information of the error that occurred during the program execution.

    ex)
    //QMessageBox *testBox = new QMessageBox();
    [line number : 1000] QMessageBox *testBox;
    [line number : 1001] testBox->open(); // Error!

    I want to check the location or reason of the program error through the log.
    Is there a way to check?

    I checked the event viewer on Windows first but I couldn't check the information.

    Thank you for reading my poor English.

    jsulmJ 1 Reply Last reply
    0
    • L LISP

      Hello
      I want to check the error log on Windows.
      I made a pointer variable from the qt source code.
      And the pointer variable is not initialized. (Error Caused)
      I ran the program and used the pointer variable.
      I caused the error on purpose.
      Because it is to get the information of the error that occurred during the program execution.

      ex)
      //QMessageBox *testBox = new QMessageBox();
      [line number : 1000] QMessageBox *testBox;
      [line number : 1001] testBox->open(); // Error!

      I want to check the location or reason of the program error through the log.
      Is there a way to check?

      I checked the event viewer on Windows first but I couldn't check the information.

      Thank you for reading my poor English.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @LISP Usually one would use debugger for that

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved