|
|
|
# tips & tricks for developers regarding the SWIG bindings
|
|
|
|
|
|
|
|
* the general concept is described in the [K. Wette 2020 SWIGLAL paper](https://inspirehep.net/literature/1837108)
|
|
|
|
|
|
|
|
## How do I debug SWIG while developing, without having to install everything?
|
|
|
|
|
|
|
|
Go to the `swig/` directory in any LALSuite library and run `make run-python`. This will drop you into an interactive Python session with all the paths set up to import the pre-installed SWIG wrappings, so you don't have to run `make install` first. If you want to run under a debugger, use` make run-python RUNTOOL="gdb --args"`. |
|
|
|
\ No newline at end of file |