Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26993

Project Mixing C and C++ produce Debuger Crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 6.0.2
    • Debugger
    • None
    • Project build Cmake, that allow easyly to mix C and CPP stuff
      Using standard Qt 5.15.2 mingw 64 bit desktop
    • Windows

    Description

      WIth a project mixing C and C++, I have some strange beahouviour of GDB

      I made a minimal project to reproduce the probleme (attached).

      When performing a step out from a C++ function called from C GDB? is crashing? at least Debug session is aborted (see video)

       

      Maybe an Intersetring point: I was not able to reproduce the probleme until I put a return value to function printHelloCppCalledInC

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            florent@lightingsoft Florent Fortin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes