Ask Your Question
1

"Move Program Counter Here" command not available when debugging script in a docker container

asked 2020-04-29 17:54:12 -0500

martinako gravatar image

I'm debugging various scripts running in a docker container. I can debug them fine following the instructions in here https://wingware.com/doc/howtos/docker However, the "Move Program Counter Here" command, which I often use, is greyed when I debug scripts running in a docker container. The command it's available when debugging a script in the host. I've tried to call the command directly from the "Command by name" option and typing debug-move-counter or debug-move-counter-clicked, which works well when debugging a script in the host, but I get the message Command not found.

I've run the "Reload all scripts" option but it the debug-move-counter is still not available.

How can I make this command available when debugging a script inside a docker container?

edit retag flag offensive close merge delete

Comments

I just tried this with Wing Pro 7.2.2.6 and it does work even with remote development. One possibility is that if you've reached an exception then the command is not available because of limitations in how this is done in Python. Are you at an exception when it doesn't work? And if so, does it work if you instead run to a breakpoint?

Wingware Support gravatar imageWingware Support ( 2020-04-30 16:20:56 -0500 )edit

Also note that it's only available in the innermost stack frame...

Wingware Support gravatar imageWingware Support ( 2020-04-30 16:21:54 -0500 )edit

I'm using wingide6. There is no exception and it's innermost stack frame. I use that command often. I have just tried to use the debug-move-counter command for the example in the howto link in my question, just with a few extra print statements to jump between them. I can stop at a break point but the debug-move-counter command it's not available there either.

martinako gravatar imagemartinako ( 2020-04-30 17:42:22 -0500 )edit

I've done the same steps with wingide7 and I can use the debug-move-counter command there without problem. So the problem I describe in this question seems to be wingide6 specific.

martinako gravatar imagemartinako ( 2020-05-01 05:16:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-05-01 09:39:41 -0500

It looks like this was a bug that was fixed in version 7.0.3.3 so indeed it won't appear in the latest version of Wing 7.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-04-29 17:54:12 -0500

Seen: 50 times

Last updated: May 01