Ask Your Question
1

Interactive debug wont use window split with focus

asked 2020-03-12 09:06:03 -0500

pymike's avatar

updated 2020-03-16 12:41:19 -0500

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.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-03-12 09:44:05 -0500

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.

edit flag offensive delete link more

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

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-03-12 09:06:03 -0500

Seen: 349 times

Last updated: Mar 12 '20