Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debugging Issues in Plug in Development
Forum Updated to NodeBB v4.3 + New Features

Debugging Issues in Plug in Development

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 271 Views
  • 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.
  • H Offline
    H Offline
    hy1011
    wrote on last edited by
    #1
    1. Cannot enter plugin program breakpoints when debugging with Qt Ctrator plugin development
    2. When encountering clash, it will directly jump to the address without jumping to the error program
      微信截图_20240912155615.png
    1 Reply Last reply
    0
    • aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi hy1011,

      have you tried if a minimal "hello world" plugin works? https://doc.qt.io/qtcreator-extending/first-plugin.html gives some step-by-step advices.

      One important thing is, you need the exact same Qt version, Compiler and Architecture (32/64 bit) that QtCreator was compiled with when developing plugins for Creator. When is doubt, then you can Qt Creator from source so it will perfectly match your plugin.

      Regarding your second question: That is an indication that no source code was found for the crash location. That most likely means the crash occurred outside your plugins code.

      Qt has to stay free or it will die.

      H 1 Reply Last reply
      0
      • aha_1980A aha_1980

        Hi hy1011,

        have you tried if a minimal "hello world" plugin works? https://doc.qt.io/qtcreator-extending/first-plugin.html gives some step-by-step advices.

        One important thing is, you need the exact same Qt version, Compiler and Architecture (32/64 bit) that QtCreator was compiled with when developing plugins for Creator. When is doubt, then you can Qt Creator from source so it will perfectly match your plugin.

        Regarding your second question: That is an indication that no source code was found for the crash location. That most likely means the crash occurred outside your plugins code.

        H Offline
        H Offline
        hy1011
        wrote on last edited by
        #3

        @aha_1980 The plugin is running without any issues, it just won't enter breakpoints during debugging

        1 Reply Last reply
        0
        • aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @hy1011 How do you debug your plugin? Do you run a self compiled Qt Creator inside the debugger? Or what do you do?

          Qt has to stay free or it will die.

          1 Reply Last reply
          0

          • Login

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