Show More
@@ -99,11 +99,11 b' class TerminalPdb(Pdb):' | |||
|
99 | 99 | |
|
100 | 100 | def _prompt(self): |
|
101 | 101 | """ |
|
102 |
In case |
|
|
102 | In case other prompt_toolkit apps have to run in parallel to this one (e.g. in madbg), | |
|
103 | 103 | create_app_session must be used to prevent mixing up between them. According to the prompt_toolkit docs: |
|
104 | 104 | |
|
105 | If you need multiple applications running at the same time, you have to create a separate | |
|
106 | `AppSession` using a `with create_app_session():` block. | |
|
105 | > If you need multiple applications running at the same time, you have to create a separate | |
|
106 | > `AppSession` using a `with create_app_session():` block. | |
|
107 | 107 | """ |
|
108 | 108 | with create_app_session(): |
|
109 | 109 | return self.pt_app.prompt() |
General Comments 0
You need to be logged in to leave comments.
Login now