Commit Graph

87 Commits

Author SHA1 Message Date
Elizaveta Shashkova
bfbbb8a750 No interactive output from IPython console (PY-26479)
Do not patch sys.stdout to postpone banner showing, just call an appropriate function before execution of greeting message.
2017-12-04 14:50:26 +03:00
Elizaveta Shashkova
11482b4ba8 Updates from PyDev: Fix for case when python-future is installed and provides a dummy 'builtins' module even on Python 2. #PyDev-845 2017-10-19 20:22:58 +03:00
Elizaveta Shashkova
015ac5f195 Updates from PyDev: No longer putting True, False and object in builtins and fixing some places where setattr was being used when an assign could be used instead. 2017-10-19 20:22:34 +03:00
Elizaveta Shashkova
a3dffc58ac Add ability to load variables in the Variables Pane asynchronously (PY-12987)
If in the frame there is at least one very long or slow variable, the frame's variable aren't shown. In order to avoid such situations we add an option to load variables asynchronously. At first debugger loads only names of the variables, and after that it sends additional commands and evaluates values of the variables in a separate threads.
2017-10-09 21:20:18 +03:00
Elizaveta Shashkova
94de8b61f8 Update console after IPython detection and fix Console folding (PY-25468) 2017-08-02 20:06:00 +03:00
Elizaveta Shashkova
546664d99f Detect IPython correctly for Remote Python Console (PY-21384, PY-25468)
Do not send greeting message via error output, because sometimes it's lost. Also we need to handle IPython banner correctly, because it's printed to output when the new instance of interpreter is created. Now we don't print it, but execute it as a first command.
2017-08-02 20:05:55 +03:00
Alexander Koshevoy
a26fb9c2b7 PY-18748 Python console connection issue for Docker (Compose) fixed
Python console supported for major Docker Engine setups:
 - Docker for Mac with available for Docker 17.06 onwards;
 - Docker for Linux with host address of docker0 network interface;
 - Docker for Windows (Linux containers only) running in legacy client mode;
 - Docker Machine with VirtualBox provider.
2017-07-31 12:01:03 +03:00
Elizaveta Shashkova
d723e75350 "Execute Line in Console" doesn't work when debugging script (PY-21815 )
Select correct tool window and enable multiline commands in debug console
2017-03-13 19:31:00 +03:00
Elizaveta Shashkova
7e6e720d29 Disable matplotlib support if display isn't available (PY-16100) 2017-02-13 20:58:02 +03:00
Elizaveta Shashkova
575801c275 Add IPython variables to Special variables in IPython console and console with "show command line afterwards" option (PY-21641) 2016-11-28 16:08:43 +03:00
Elizaveta Shashkova
052340705d Can't saw script output with Remote Interpreter and "Show command line afterwards" option (PY-21426) 2016-11-24 21:02:11 +03:00
Elizaveta Shashkova
096ecf1532 Fix errors and fully support matplotlib interactive mode in run and debug with the option "Show command line afterwards" enabled (PY-21330) 2016-11-09 20:42:31 +03:00
Elizaveta Shashkova
445f59ed23 Fixes after Fabio's review in pull request 2016-11-03 20:37:31 +03:00
Elizaveta Shashkova
7e70c470ac Error 'Inappropriate ioctl for device' in debugger with Django (PY-21096)
Do not override original sys.stdin.isatty(), because it can't be set to any constant value. It should be False for local interpreters and True for remote interpreters.
2016-11-02 19:26:03 +03:00
Elizaveta Shashkova
6b47714558 Support filtering variables for old versions of IPython (PY-21250) 2016-10-27 13:40:05 +03:00
Elizaveta Shashkova
85e769a6ae Do not change the original dict with ipython variables (PY-21054) 2016-10-13 14:27:44 +03:00
Elizaveta Shashkova
f728deeb14 Variables Pane: Simplified Variables View (PY-21054) 2016-10-13 14:27:43 +03:00
Elizaveta Shashkova
eaa102c750 IPython debug console: distinguish between user variables and ipython ones (PY-5171)
Information about IPython hidden variables is taken from the special IPython dict. After that we move these variables to a separate group "IPython Variables".
2016-10-13 14:27:42 +03:00
Elizaveta Shashkova
35b9571c15 Set isatty=True fir IPython console only (PY-20732) 2016-09-27 15:48:21 +03:00
Elizaveta Shashkova
ad94b142ac The prompt in debug console with IPython (PY-20685)
We need to add message to output in order to notify ide side about using IPython
2016-09-09 15:36:47 +03:00
Elizaveta Shashkova
7662a87aed Missed attributes in sys.stdin after patching (PY-20154, PY-20165)
We can't override all the attributes of BaseStdIn, so there is need to call the attributes from the original sys.stdin if they weren't found.
2016-07-24 13:15:40 +02:00
Elizaveta Shashkova
a8f13c9f69 Fix input() and help() functions in IPython debug console (PY-19853) 2016-07-07 15:41:02 +03:00
Dmitry Trofimov
e34f964c45 Better message formatiing 2016-07-01 18:02:57 +02:00
Dmitry Trofimov
c5195de2e9 Add flush to stderr write 2016-07-01 18:02:57 +02:00
fitermay
3f6d36fe2a --fix issue with locals not being set in debugger console 2016-04-30 19:50:26 -04:00
Elizaveta Shashkova
9cec506ec7 Support gevent in debugger (PY-14992) 2016-03-10 02:44:48 +03:00
Elizaveta Shashkova
3af189142f Changes from PyDev debugger 2016-02-04 18:51:54 +03:00
Elizaveta Shashkova
a73e5d60d8 Fix exception in console with python 3 (PY-18189) 2016-01-14 20:47:21 +03:00
Elizaveta Shashkova
c3b333e727 refactoring in matplotlib support 2015-02-10 15:55:10 +03:00
Elizaveta Shashkova
2abfb93689 Fix interactive mode in matplotlib (PY-7029)
Input hooks should be called and all matplotlib GUI code should be run in the main thread.
2015-01-29 20:39:37 +03:00
Dmitry Trofimov
6e9e4188df Fix a typo. 2014-12-29 15:00:42 +01:00
Dmitry Trofimov
c8d5778dbe Fix console connection for remote interpreter (PY-14564). 2014-12-04 12:02:47 +01:00
Dmitry Trofimov
a8415c7374 Fix console for Python 2.4 (PY-14426). 2014-11-18 14:11:59 +01:00
Dmitry Trofimov
51b6a7117c Array viewer for console variables (PY-14182). 2014-11-06 13:34:52 +01:00
Elizaveta Shashkova
afe9b5c056 refactoring in pydev console 2014-10-29 20:02:52 +03:00
Dmitry Trofimov
f611621f54 Matplotlib support in console. 2014-10-23 02:30:22 +02:00
Dmitry Trofimov
34466202da Update Pydev.Debugger to the latest development snapshot. 2014-09-23 19:35:48 +02:00
Dmitry Trofimov
a86016993e Update to lastes Pydev.Debugger. 2014-09-03 15:37:05 +02:00
Dmitry Trofimov
42369b0b2a Show console after execution in debug. 2014-08-28 17:24:33 +02:00
Dmitry Trofimov
ef377db337 Pydev.Debugger updated. 2014-08-26 15:24:03 +02:00
Dmitry Trofimov
65d7954fe9 Runner script for run with command-line. 2014-08-25 13:34:31 +02:00
Dmitry Trofimov
948b2e3048 Pydev updated to the latest dev version. 2014-08-22 15:59:23 +02:00
Dmitry Trofimov
28322a5513 Pydev updated to the latest dev version. 2014-08-22 15:44:25 +02:00
Dmitry Trofimov
36dd5df4cd Update debugger to latest Pydev.Debugger snapshot. 2014-08-14 13:42:57 +02:00
Alexander Marchuk
24c1fabc3d fix thread crash in debug console after syntax error (PY-12600)
(cherry picked from commit 9cae29ece1f45b4e62ed2fe6ef1ea14c61d567eb)
2014-06-05 15:44:58 +04:00
Dmitry Trofimov
9219a05f26 Attach Debugger in Python console. 2014-05-12 15:07:04 +02:00
Dmitry Trofimov
7846df831a Backported more Pydev stuff including Stackless debugging support and AppEngine debugging fix. 2014-05-09 01:02:11 +02:00
Dmitry Trofimov
f80095e3b4 Rename modules. 2014-05-08 17:31:15 +02:00
Dmitry Trofimov
e72fd1aad9 Fixed conversion. 2014-05-08 16:03:50 +02:00
Dmitry Trofimov
5455834321 IPython should be enabled by default. 2014-05-07 23:00:42 +02:00