3D Slicer Logo
latest
  • About 3D Slicer
  • Getting Started
  • Get Help
  • User Interface
  • Data Loading and Saving
  • Image Segmentation
  • Registration
  • Modules
  • Extensions Manager
  • Application settings
  • Developer Guide
    • Slicer API
    • MRML Overview
    • Module Overview
    • Parameter Nodes
    • Modules API
    • Extensions
    • Python FAQ
    • Script repository
    • Build Instructions
    • Debugging
      • Python debugging
      • C++ debugging
        • C++ debugging on Windows
        • C++ debugging on GNU/Linux systems
        • C++ debugging on macOS
        • C++ debugging with Visual Studio Code
        • C++ debugging with Qt Creator
        • C++ debugging with CodeLite
      • Tips and tricks
    • Contributing to Slicer
    • Style Guide
    • Advanced Topics
    • Credits
3D Slicer
  • Developer Guide
  • Debugging
  • C++ debugging
  • Edit on GitHub

C++ debuggingΒΆ

Debugging C++ code requires building 3D Slicer in Debug mode by following the build instructions.

The executable Slicer application (Slicer or Slicer.exe) is the launcher of the real application binary (SlicerApp-real). The launcher sets up paths for dynamically-loaded libraries that on Windows and Linux are required to run the real application library.

  • C++ debugging on Windows
    • Debugging using Visual Studio
    • Debugging using cross-platform IDEs
  • C++ debugging on GNU/Linux systems
    • GDB debug by attaching to running process (recommended)
    • GDB debug with launch arguments
    • GDB debug by following the forked process
    • GDB debug by using exec-wrapper
    • Analyze a segmentation fault
    • Debugging using cross-platform IDEs
  • C++ debugging on macOS
    • Debugging using Xcode
    • Debugging using cross-platform IDEs
  • C++ debugging with Visual Studio Code
    • Prerequisites
    • Running the debugger on Linux
  • C++ debugging with Qt Creator
    • Prerequisites
    • Running the debugger
  • C++ debugging with CodeLite
    • Configure build
    • Configure debugger
Previous Next

© Copyright 2023, Slicer Community. Revision a823405b.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
5.2
5.0
v4.11
Downloads
pdf
epub
On Read the Docs
Project Home
Builds