"Fraga, Eric" <e.fr...@ucl.ac.uk> writes: > Ihor, > > On Thursday, 14 Sep 2023 at 12:40, Ihor Radchenko wrote: >> To debug, you can try to patch `org-babel-tangle-single-block', catching >> when `org-src-coderef-regexp' is called with nil argument (it must be a >> string). Then, examine which source block you are at when that happens. > > Thank you. Happy to patch but how do I actually determine the source > block in question?
For the patch, it will be something like adding (when ... (debug)) and evaluating the defun. The source block in question is at point, so, in the debugger, you can just do "e (point) <RET>" and then jump to that point manually. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>