ndi

This module implements the generation of .ndi files for better debugging support of Nim code. "ndi" stands for "Nim debug info".

Imports

ast, msgs, ropes, options, pathutils

Types

NdiFile = object
  enabled: bool
  f: File
  buf: string
  filename: AbsoluteFile
  syms: seq[PSym]
Source Edit

Procs

proc open(f: var NdiFile; filename: AbsoluteFile; conf: ConfigRef) {...}{.raises: [],
    tags: [].}
Source Edit
proc close(f: var NdiFile; conf: ConfigRef) {...}{.raises: [IOError],
    tags: [WriteIOEffect].}
Source Edit

Templates

template writeMangledName(f: NdiFile; s: PSym; conf: ConfigRef)
Source Edit

© 2006–2021 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/ndi.html