• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 468 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 Dec 18, 2023, 9:42 PM

    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 Jan 22, 2024, 9:02 AM

      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 Jan 22, 2024, 5:04 PM Reply Quote 0
      • O
        opoplawski @Skoony
        last edited by Jan 22, 2024, 5:04 PM

        @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 Dec 12, 2024, 11:51 PM

          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
          • S
            stephenw10 Netgate Administrator
            last edited by Dec 17, 2024, 10:58 PM

            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 Dec 17, 2024, 11:05 PM Reply Quote 0
            • O
              opoplawski @stephenw10
              last edited by Dec 17, 2024, 11:05 PM

              @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.
                This community forum collects and processes your personal information.
                consent.not_received