Skip to content

debugger entry points #41

@pmp-p

Description

@pmp-p

all compiler or runtime errors that could happen at various stage of using "mys" command, if able to get a source filename, maybe a line number and optionnal colummns + an error message should adress a call to a function (eg builtins.mys_debug ) loaded from a module that could be overridden from command line eg :

--debug=mymodule

try:
    __import__(mymodule)
except:
    def mys_debug(*argv,**kw):
        pass # or the default fancy display with colors as an example.
    import builtins
    builtins.mys_debug

this is mainly for interacting with IDE and/or when compiling remotely to give a translated filename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions