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. Call stack support
Forum Updated to NodeBB v4.3 + New Features

Call stack support

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 402 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by SPlatten
    #1

    Does Qt have any built in functions for accessing the call stack? In my efforts to debug an older Qt 4.8 project I would like to access the call stack and then report it into the debug files...I've done this a long time ago before I started using Qt and I believe the functionality was provided using a 3rd party library.

    [Edit] I should have specified the language is C++, compiler:

    gcc (Gentoo 4.6.3 p1.13, pie-0.5.2) 4.6.3
    

    Kind Regards,
    Sy

    JonBJ 1 Reply Last reply
    0
    • JonBJ JonB

      @SPlatten
      The C++ call stack? So far as I know, no, this would have nothing to do with Qt, only to do with perhaps your C++ compiler/libraries.

      @SPlatten said in Call stack support:

      [Edit] I should have specified the language is C++, compiler:

      So look for something in gcc for accessing the call stack....

      SPlattenS Offline
      SPlattenS Offline
      SPlatten
      wrote on last edited by
      #3

      @JonB , thank you, found:
      https://stackoverflow.com/questions/77005/how-to-automatically-generate-a-stacktrace-when-my-program-crashes

      Kind Regards,
      Sy

      1 Reply Last reply
      1
      • SPlattenS SPlatten

        Does Qt have any built in functions for accessing the call stack? In my efforts to debug an older Qt 4.8 project I would like to access the call stack and then report it into the debug files...I've done this a long time ago before I started using Qt and I believe the functionality was provided using a 3rd party library.

        [Edit] I should have specified the language is C++, compiler:

        gcc (Gentoo 4.6.3 p1.13, pie-0.5.2) 4.6.3
        
        JonBJ Online
        JonBJ Online
        JonB
        wrote on last edited by JonB
        #2

        @SPlatten
        The C++ call stack? So far as I know, no, this would have nothing to do with Qt, only to do with perhaps your C++ compiler/libraries.

        @SPlatten said in Call stack support:

        [Edit] I should have specified the language is C++, compiler:

        So look for something in gcc for accessing the call stack....

        SPlattenS 1 Reply Last reply
        1
        • JonBJ JonB

          @SPlatten
          The C++ call stack? So far as I know, no, this would have nothing to do with Qt, only to do with perhaps your C++ compiler/libraries.

          @SPlatten said in Call stack support:

          [Edit] I should have specified the language is C++, compiler:

          So look for something in gcc for accessing the call stack....

          SPlattenS Offline
          SPlattenS Offline
          SPlatten
          wrote on last edited by
          #3

          @JonB , thank you, found:
          https://stackoverflow.com/questions/77005/how-to-automatically-generate-a-stacktrace-when-my-program-crashes

          Kind Regards,
          Sy

          1 Reply Last reply
          1

          • Login

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