| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| stdout, _ = self._run_pdb(["gh93696_host.py"], commands_longlist) | ||
| self.assertIn('x = "Sentinel string for gh-93696"', stdout, "Sentinel statement not found") | ||
| self.assertIn('4 B', stdout, "breakpoint not found") | ||
| self.assertIn('-> def func():', stdout, "stack entry not found") |
There was a problem hiding this comment.
These two tests look identical as l. Make a loop?
Sorry, something went wrong.
There was a problem hiding this comment.
Good point! I used loop for it.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
#93697 attempted to extract the actual file of a frozen module, but it only did it for list, not longlist or where. With #131638, we can get source code of frozen modules without any extra efforts, so we should remove this piece of code now.
Also, this code introduced a small error - it does not show breakpoints correctly. When we set breakpoints, we use the co_filename (<frozen XXX>) as the key. Breakpoints can't be found if the filename is converted to real file, so the B indicator will not be there.
Some extra tests were added.