Error popup and

30 views
Skip to first unread message

Dmitriy Altyntsev

unread,
Oct 23, 2012, 3:58:30 AM10/23/12
to pyscr...@googlegroups.com
Hi, 
some questions from newbie if you don't mind ...

1. Is it a way to avoid annoying error popup window? Interpreter window is enough.
2. Is it a way to view value of expression by selecting it in editor? 

Thanks


Colin J. Williams

unread,
Oct 23, 2012, 8:25:24 AM10/23/12
to pyscr...@googlegroups.com
Dmitry,

Could you clarify what It is please?

Colin W.
> --
> You received this message because you are subscribed to the Google
> Groups "PyScripter" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pyscripter/-/c6TPo90pCc0J.
> To post to this group, send email to pyscr...@googlegroups.com.
> To unsubscribe from this group, send email to
> pyscripter+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pyscripter?hl=en.

Dmitriy Altyntsev

unread,
Oct 23, 2012, 10:05:30 AM10/23/12
to pyscr...@googlegroups.com
OK, I'll try

1. If I run the script and error happens I get the modal popup window with error message. I have to close this window and switch to Interpreter Window to type some debug command. How to change this behavior? I want no popup and focus left in Interpreter Window. 

2. In debug mode or post-mortem mode if I hover over variable in text of the program I get the hint with var type and value. It's great but it would be more great if I could select part of program text and get the same hint.

Actually I'm switching to python from IDL (http://en.wikipedia.org/wiki/IDL_(programming_language)) and till IDL 7 it has unique debug features that I have never met after. IDL IDE allowed to link hot keys with user functions and get input for them from selected program text. For example, I could link ALT+1 to my own specific print function, ALT+2 to plot array and so on. Then I run program, get error, program stop at some line. I can select part of program and press ALT+1 to print values. If I want plot I press ALT+2. No typing, no scrolling variables window, easy customization. Excellent!

So I try to find out something similar for python and PyScripter is the closest.
In other words now I often do the following sequence of actions during debugging in PyScripter: select part of program, copy it to clipboard, switch to interpreter command line, type some function, paste clipboard as argument, press Enter. I want IDE do it all automatically.
 

вторник, 23 октября 2012 г., 21:27:55 UTC+9 пользователь cjw написал:
Reply all
Reply to author
Forward
0 new messages