Project

General

Profile

Actions

Feature #6089

open

log the current file / operation during execeution of a script

Added by laforge 8 months ago. Updated 3 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
pySim-shell
Target version:
-
Start date:
07/10/2023
Due date:
% Done:

0%

Spec Reference:

Description

When we execute a script (e.g. one generated by export), there is no output that helps us understand where in the script we currently are. This is particularly problematic in case something goes wrong (error/exception), where the backtrace might not give us an indication of the EF that was currently selected.

One can enable set apdu_trace true and then check back from the FID of the last SELECT (A4) to the filename manually, but that's cumbersome and just a hack.

I think when executing a script, we should give a brief log of what we're doing, such as simply echoing the script line to stdout.

Generating the export with explicit echo statements not a solution, as that wouldn't work for other scripts (not generated by export)

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)