BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/jsdebug.c
De:       Deuc¨
Data:     Sun, 12 Apr 2026 00:30:06 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/d1ba227b807bb2dd1e0a13ee
Modified Files:
	src/sbbs3/jsdebug.c
Log Message:
jsdebug: add source line display to backtraces and list command

Backtraces now show the source line text below each frame (read from
the file path returned by JS_GetScriptFilename).  Silently omitted
when the file can't be opened (dynamic scripts, cwd changes, etc).

New "l"/"list" command works like gdb's: shows 11 lines of source
context centered on the current PC line, with a ">" marker on the
current line.  Accepts an optional line number argument, and bare
"l" after a previous listing continues where it left off.

You're welcome nelgin.

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]