Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to get debug symbol information

    Scheduled Pinned Locked Moved Development
    6 Posts 3 Posters 475 Views
    Loading More Posts
    • 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.
    • O
      opoplawski
      last edited by

      Is it possible to get debug symbol information for the system libraries on pfSense? I see that I have some files in /usr/lib/debug/... but they appear to be out of date.

      1 Reply Last reply Reply Quote 1
      • S
        Skoony
        last edited by

        1. To get debug symbol information for system libraries on pfSense, you can follow these steps:
        2. Download the matching debug packages for the libraries you need from the pfSense package repository.
        3. Install the debug packages using the package manager in pfSense. This will update the debug symbol information for the libraries and make it available for use during debugging sessions. For more detailed information, refer to the official pfSense documentation on package management and debugging tools.
        O 1 Reply Last reply Reply Quote 0
        • O
          opoplawski @Skoony
          last edited by

          @Skoony could you please give more details?

          : sudo pkg search debug
          php82-pecl-xdebug-3.2.2        Xdebug extension for PHP
          

          doesn't seem to find anything. Searching for "debug" in the available packages gui doesn't show anything either.

          1 Reply Last reply Reply Quote 1
          • O
            opoplawski
            last edited by

            I'm still trying to figure out if this is possible or not. Any suggestions? Is there a freebsd debug symbol server somewhere?

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Debug kernel and symbols are available in Plus:

              [24.11-RELEASE][admin@6100.stevew.lan]/root: pkg search debug
              pfSense-kernel-debug-pfSense-24.11 pfSense kernel-debug (pfSense)
              php83-pecl-xdebug-3.3.2        Xdebug extension for PHP
              [24.11-RELEASE][admin@6100.stevew.lan]/root: pkg search symbols
              pfSense-kernel-symbols-pfSense-24.11 pfSense kernel-symbols (pfSense)
              pfSense-kernel-symbols-pfSense-Installer-24.11 pfSense kernel-symbols (pfSense-Installer)
              
              O 1 Reply Last reply Reply Quote 0
              • O
                opoplawski @stephenw10
                last edited by

                @stephenw10 I don't think kernel debug symbols are really going to be of much use to me. And Xdebug is a php debugger, but I need debug symbols for php83-pecl-radius (and php-fpm I suppose).

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.