Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.extension bob.extension
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.extensionbob.extension
  • Issues
  • #2
Closed
Open
Issue created Sep 23, 2013 by André Anjos@andre.anjos💬Owner

Enabling debug mode

Created by: siebenkopf

When I write C++ code, I couldn't find an option to enable DEBUG mode. Specifically, I want to write some 'assert' statements, which should be checked in debug mode.

There is the option parameter "extra_compile_args" in the setup.py, but even after setting 'extra_compile_args = ["-ggdb"]', the assertion

assert (1 == 2);

passes. I think, this is due to the fact that by default the '-DNDEBUG' macro is enabled, which disables 'assert' to be evaluated.

Assignee
Assign to
Time tracking