Tarantool development patches archive
 help / color / mirror / Atom feed
From: Ilya Markov <imarkov@tarantool.org>
To: georgy@tarantool.org
Cc: tarantool-patches@freelists.org
Subject: [tarantool-patches] [error 0/3] Introduce error traceback
Date: Fri,  4 May 2018 17:07:17 +0300	[thread overview]
Message-ID: <cover.1525442633.git.imarkov@tarantool.org> (raw)
In-Reply-To: <14848871.eLyv8AkjAN@home.lan>



Ilya Markov (3):
  lua: moving lua error functions to separate file
  error: Add lua traceback
  error: Add C frames in error.traceback

  branch: gh-677-augment-exceptions

 src/CMakeLists.txt                |   3 +
 src/backtrace.cc                  |  10 +-
 src/box/func.c                    |   1 +
 src/box/lua/call.c                |   1 +
 src/box/lua/cfg.cc                |   3 +-
 src/box/lua/ctl.c                 |   1 +
 src/box/lua/error.cc              |   1 +
 src/box/lua/index.c               |   1 +
 src/box/lua/init.c                |   1 +
 src/box/lua/misc.cc               |   1 +
 src/box/lua/sequence.c            |   1 +
 src/box/lua/session.c             |   1 +
 src/box/lua/tuple.c               |   1 +
 src/box/lua/xlog.c                |   1 +
 src/diag.c                        |   2 +
 src/diag.h                        |  15 +-
 src/exception.cc                  |  49 ++++++
 src/lua/error.c                   | 353 ++++++++++++++++++++++++++++++++++++++
 src/lua/error.h                   |  70 ++++++++
 src/lua/error.lua                 | 156 +++++++++++++++++
 src/lua/fiber.c                   |   1 +
 src/lua/fio.c                     |   1 +
 src/lua/httpc.c                   |   1 +
 src/lua/init.c                    |   4 +
 src/lua/init.lua                  | 161 ++---------------
 src/lua/pickle.c                  |   1 +
 src/lua/socket.c                  |   1 +
 src/lua/utils.c                   |  93 ++--------
 src/lua/utils.h                   |  14 --
 test/app-tap/trigger.test.lua     |   2 +-
 test/app/traceback.result         | 155 +++++++++++++++++
 test/app/traceback.test.lua       |  50 ++++++
 test/box-tap/session.test.lua     |  16 +-
 test/box/misc.result              |  58 ++++++-
 test/box/misc.test.lua            |   1 +
 test/replication/wal_off.result   |   2 +-
 test/replication/wal_off.test.lua |   2 +-
 37 files changed, 978 insertions(+), 257 deletions(-)
 create mode 100644 src/lua/error.c
 create mode 100644 src/lua/error.h
 create mode 100644 src/lua/error.lua
 create mode 100644 test/app/traceback.result
 create mode 100644 test/app/traceback.test.lua

-- 
2.7.4

       reply	other threads:[~2018-05-04 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <14848871.eLyv8AkjAN@home.lan>
2018-05-04 14:07 ` Ilya Markov [this message]
2018-05-04 14:07   ` [tarantool-patches] [error 1/3] lua: moving lua error functions to separate file Ilya Markov
2018-05-04 14:07   ` [tarantool-patches] [error 2/3] error: Add lua traceback Ilya Markov
2018-05-04 14:07   ` [tarantool-patches] [error 3/3] error: Add C frames in error.traceback Ilya Markov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1525442633.git.imarkov@tarantool.org \
    --to=imarkov@tarantool.org \
    --cc=georgy@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [error 0/3] Introduce error traceback' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox