First time here? Check out the FAQ!
1

Interactive debug wont use window split with focus

I am running 7.2.1.2 (rev 0815af1f2ee2) on MacOS 10.14.6 (18G87)

I have two source windows, split side by side. I set a breakpoint in my code and start debug. The execution stops at the breakpoint in the window that does not have focus. If I stop execution, join all splits (so that the window I wish to use to debug remains) and rerun the program, execution stops at the breakpoint but I cannot interact with it. I have to stop debugging, close the program I am debugging, reopen the program I am debugging (in the single source window). Then all works fine.

I wondering if it is easy to make debugging use the source window which has focus when debugging starts?

Thanks.

pymike's avatar
196
pymike
asked 2020-03-12 09:06:03 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2020-03-16 12:41:19 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The split with the focus should be used if the Split Reuse Policy is set to Always Use Current Split. This setting is on the Editor page of the Preferences dialog.

Wingware Support's avatar
4.1k
Wingware Support
answered 2020-03-12 09:44:05 -0500
edit flag offensive 0 remove flag delete link

Comments

hmmm OK. I checked Editor settings and Split Reuse Policy is 'Always Use Current Split'.

pymike's avatar pymike (2020-03-12 10:26:08 -0500) edit

Could you submit a bug report from Wing's Help menu and check the box to include the error log?

Wingware Support's avatar Wingware Support (2020-03-12 10:28:40 -0500) edit

There appears to be a bug here. We're looking into it.

Wingware Support's avatar Wingware Support (2020-03-13 12:04:40 -0500) edit

The bug should be fixed in our next release

Wingware Support's avatar Wingware Support (2020-03-13 13:44:29 -0500) edit

OK thanks for that info. I see a new variation of this... I highlight text in the left split, right-click and select 'Comment Out Region". Text in the window that doesnt have focus gets some text commented out.

https://filebin.net/hpoi8drcfvaiyy9d/... shows the text highlighted before the right-click

https://filebin.net/hpoi8drcfvaiyy9d/... shows text commented in the window that does not have focus

pymike's avatar pymike (2020-03-15 12:49:33 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer