{
    "content": [
        {
            "type": "text",
            "text": "# faulthandler (pydoc)\n\n## NAME\n\nfaulthandler - faulthandler module.\n\n## Sections\n\n- **NAME**\n- **FUNCTIONS** (8 subsections)\n- **FILE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "faulthandler",
        "section": "",
        "mode": "pydoc",
        "summary": "faulthandler - faulthandler module.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "cancel_dump_traceback_later",
                        "lines": 3
                    },
                    {
                        "name": "disable",
                        "lines": 2
                    },
                    {
                        "name": "dump_traceback",
                        "lines": 2
                    },
                    {
                        "name": "dump_traceback_later",
                        "lines": 4
                    },
                    {
                        "name": "enable",
                        "lines": 2
                    },
                    {
                        "name": "is_enabled",
                        "lines": 2
                    },
                    {
                        "name": "register",
                        "lines": 2
                    },
                    {
                        "name": "unregister",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "faulthandler - faulthandler module.\n",
                "subsections": []
            },
            "FUNCTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "cancel_dump_traceback_later",
                        "content": "canceldumptracebacklater():\ncancel the previous call to dumptracebacklater().\n"
                    },
                    {
                        "name": "disable",
                        "content": "disable(): disable the fault handler\n"
                    },
                    {
                        "name": "dump_traceback",
                        "content": "dumptraceback(file=sys.stderr, allthreads=True): dump the traceback of the current thread, or of all threads if allthreads is True, into file\n"
                    },
                    {
                        "name": "dump_traceback_later",
                        "content": "dumptracebacklater(timeout, repeat=False, file=sys.stderrn, exit=False):\ndump the traceback of all threads in timeout seconds,\nor each timeout seconds if repeat is True. If exit is True, call exit(1) which is not safe.\n"
                    },
                    {
                        "name": "enable",
                        "content": "enable(file=sys.stderr, allthreads=True): enable the fault handler\n"
                    },
                    {
                        "name": "is_enabled",
                        "content": "isenabled()->bool: check if the handler is enabled\n"
                    },
                    {
                        "name": "register",
                        "content": "register(signum, file=sys.stderr, allthreads=True, chain=False): register a handler for the signal 'signum': dump the traceback of the current thread, or of all threads if allthreads is True, into file\n"
                    },
                    {
                        "name": "unregister",
                        "content": "unregister(signum): unregister the handler of the signal 'signum' registered by register()\n"
                    }
                ]
            },
            "FILE": {
                "content": "(built-in)\n\n",
                "subsections": []
            }
        }
    }
}