Commit graph

15 commits

Author SHA1 Message Date
Miller
56217bd4ab ein-ipdb: Convenience function to launch ipdb debugger. 2019-11-06 16:38:30 -07:00
Sam Steingold
448e161068 Avoid dependency on the deprecated package "cl"
Replace `defun*' with `cl-defun', `loop' with `cl-loop',
  `case' with `cl-case', `assert' with `cl-assert',
  `destructuring-bind' with `cl-destructuring-bind',
  `multiple-value-bind' with `cl-multiple-value-bind',
  `equalp` with `cl-equalp`, `defstruct' with `cl-defstruct`
  &c &c &c
Use lexical-binding instead of lexical-let.
Add declarations and defvar to avoid breakage.
2019-10-12 08:37:46 -05:00
John Miller
a81aef7386 Source tracking in EIN ipdb sessions.
Slowly recreating functionality available in python-mode.
2016-12-24 12:51:54 -06:00
John Miller
50ef0f3a33 Update README, fixes for ein-console and ein-ipdb
Grammar and info accuracy improvements for the README. Trying to catch up to a
jupyter world in ein-console, though not 100% there yet.

Fixing an annoying error in debugger comint buffer that was ocurring when
quitting an ipdb debugging session.
2016-12-15 11:22:42 -06:00
John Miller
2b7b9f20fa Improving ipdb support.
EIN ipdb buffer should look better on Linux machines now. The extra characters
were someone's (ipython?) attempt at doing ansi coloring I think.

Also trying to make the ipdb comint buffer more canonical, with the hope to get
it to work with realgud. Not quite there yet, unfortunately.
2016-11-29 22:06:03 -06:00
John Miller
edb0fd216a Fix prompt for ein ipdb comint buffer. 2015-04-10 14:01:40 -05:00
John Miller
c488bfb020 Detect ipdb vs pdb, handle debugger output.
Somehow lost ability to handle iopub responses when debugger session is
running.

Also try to set prompt in comint buffer to match debugger being called
(ipdb vs. pdb).
2015-04-10 13:59:36 -05:00
John Miller
a17c642a0c Exit debugging sessions more gracefully. 2015-04-08 10:31:57 -05:00
John Miller
df8e2b01fa Apply font properties on comint output.
`ein:cell-append-text` is a great little function. Thank you tkf...
2015-04-07 20:08:30 -05:00
John Miller
518201d5e7 Comint now functional.
On %debug magic, ein opens a comint buffer that communicates with the
ipdb session. Question now is will this lead to functioning with gud?
2015-04-07 19:43:22 -05:00
John Miller
bf11f775c2 Getting closer. 2015-04-07 06:51:37 -05:00
John Miller
29e1d7e077 Experiment with comint.
Doing as a first step towards integration with gud...
2015-04-06 13:34:42 -05:00
John Miller
33522fcb8d Separate ipdb buffer, basic command loop. 2015-04-06 07:23:09 -05:00
John Miller
faaa578807 Basic support for ipdb sessions.
Similar to support in web interface; interaction with debugger is sent
to cell output. We can do better.
2015-03-31 17:26:00 -05:00
John Miller
1c73f2b016 Support stdin input_request for password 2015-03-31 16:55:14 -05:00