First time here? Check out the FAQ!

TooSleepy's profile - activity

2021-07-04 21:11:49 -0500 received badge Self-Learner ( source )
2021-07-04 20:53:45 -0500 marked best answer Edit / preferences / Debugger - limited options (no Listening option)

On one PC I have installed Wing 7.2.8.0 and I can see multiple debugger preferences under edit / options / debugger.

I am helping someone using 7.2.9.0 and she has very few options under debugger preferences - e.g. no options for listener, or for I/O.

Did these move under 7.2.9.0? Or is there some installation step required to enable these options? The Listening option seems to be critical for debugging a program started externally. (e.g. http://wingware.com/doc/debug/debuggi...)

2021-07-04 20:53:43 -0500 received badge Teacher ( source )
2021-07-04 20:53:43 -0500 received badge Self-Learner ( source )
2021-07-04 15:21:45 -0500 answered a question Edit / preferences / Debugger - limited options (no Listening option)

Answer - Wing 101 does not have the same debug capabilities as Wing Personal or Wing Pro.

2021-07-04 15:21:45 -0500 received badge Rapid Responder ( source )
2021-07-04 15:21:03 -0500 commented question Edit / preferences / Debugger - limited options (no Listening option)

That must be the key to the problem... the problematic installation says it is "Wing 101", I did not catch that. It is

2021-07-04 07:06:19 -0500 marked best answer How to redirect input in debugger?

I can run my program from command line and pass in input from a file, e.g.

python ./test_program.py < sound\sound.i0

How can I do the equivalent in the wing IDE so I can take advantage of the debugger and breakpoints?

I've tried setting the debug preferences to "use external console" and not "use sys.stdin Wrapper" but when I try to pass in arguments "< sound\sound.i0" via "Use Project Settings and the Following Run Args", the input file is not read in - the program just seems to hang on a line such as

nmc = input().split()

I suppose this is because it is not getting any input from my argument "< sound\sound.i0"

I've figured out that if I cut and paste lines into the I/O window at the right time, the input it parsed properly, but since my input file is 100s or 1000s of lines this is not practical.

2021-07-04 07:04:29 -0500 received badge Student (source)
2021-07-04 07:04:14 -0500 asked a question Edit / preferences / Debugger - limited options (no Listening option)

Edit / preferences / Debugger - limited options (no Listening option) On one PC I have installed Wing 7.2.8.0 and I can

2021-07-04 07:04:13 -0500 answered a question How to redirect input in debugger?

Answered my own question, this works for me, I can start the program from the command line and let the debugger connect

2021-07-03 12:30:03 -0500 received badge Rapid Responder ( source )
2021-07-03 09:49:02 -0500 asked a question How to redirect input in debugger?

How to redirect input in debugger? I can run my program from command line and pass in input from a file, e.g. python ./