---
title: "BNNSGraphCompileOptionsSetGenerateDebugInfo(_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/bnnsgraphcompileoptionssetgeneratedebuginfo(_:_:)"
---

# BNNSGraphCompileOptionsSetGenerateDebugInfo(_:_:)

Sets the option for the compiled graph to include debugging information.

## Declaration

```swift
func BNNSGraphCompileOptionsSetGenerateDebugInfo(_ options: bnns_graph_compile_options_t, _ value: Bool)
```

## Parameters

- `options`: The compilation options object.
- `value`: true specifies that the compiled graph includes debugging information; otherwise, the compiled graph excludes debugging information.

## Discussion

Discussion The default option is to exclude debugging information.

## See Also

### Specifying and querying compilation options

- [bnns_graph_compile_options_t](accelerate/bnns_graph_compile_options_t.md)
- [BNNSGraphCompileOptionsMakeDefault()](accelerate/bnnsgraphcompileoptionsmakedefault().md)
- [BNNSGraphCompileOptionsDestroy(_:)](accelerate/bnnsgraphcompileoptionsdestroy(_:).md)
- [BNNSGraphCompileOptionsSetOutputPath(_:_:)](accelerate/bnnsgraphcompileoptionssetoutputpath(_:_:).md)
- [BNNSGraphCompileOptionsGetOutputPath(_:)](accelerate/bnnsgraphcompileoptionsgetoutputpath(_:).md)
- [BNNSGraphCompileOptionsSetOutputFD(_:_:)](accelerate/bnnsgraphcompileoptionssetoutputfd(_:_:).md)
- [BNNSGraphCompileOptionsGetOutputFD(_:)](accelerate/bnnsgraphcompileoptionsgetoutputfd(_:).md)
- [BNNSGraphCompileOptionsSetTargetSingleThread(_:_:)](accelerate/bnnsgraphcompileoptionssettargetsinglethread(_:_:).md)
- [BNNSGraphCompileOptionsGetTargetSingleThread(_:)](accelerate/bnnsgraphcompileoptionsgettargetsinglethread(_:).md)
- [BNNSGraphCompileOptionsSetOptimizationPreference(_:_:)](accelerate/bnnsgraphcompileoptionssetoptimizationpreference(_:_:).md)
- [BNNSGraphCompileOptionsGetOptimizationPreference(_:)](accelerate/bnnsgraphcompileoptionsgetoptimizationpreference(_:).md)
- [BNNSGraphOptimizationPreference](accelerate/bnnsgraphoptimizationpreference.md)
- [BNNSGraphCompileOptionsGetGenerateDebugInfo(_:)](accelerate/bnnsgraphcompileoptionsgetgeneratedebuginfo(_:).md)
- [BNNSTargetSystemGeneric](accelerate/bnnstargetsystemgeneric.md)
