Behaviour of IDEA main window on breakpoint

There is one issue which could help me while debugging:

I would like bring to front IDEA main window when debbuged application stops on breakpoint. I'm debugging a swing application and it looks like my application freeze on breakpoint. I must switch to IDEA main window using Windowx XP taskbar or Alt-Tab...

What do you think of this issue?

-- likeapear


1
12 comments
Avatar
Permanently deleted user

likeapear wrote:

There is one issue which could help me while debugging:

I would like bring to front IDEA main window when debbuged application stops on breakpoint. I'm debugging a swing application and it looks like my application freeze on breakpoint. I must switch to IDEA main window using Windowx XP taskbar or Alt-Tab...

What do you think of this issue?

-- likeapear


Sounds like you are asking for IDEA to steal the focus.

There are a lot of people that would be angry if that happened any more
than it already does. ;)

See this thread:
news://nntp.intellij.net:119/5367131.1088008922863.JavaMail.itn@is.intellij.net

-1
Avatar
Permanently deleted user

Do NOT do this please!
If you're debugging and you hit a breakpoint, and it looks like you app is
hung, then go check on your work and do your debugging. Don't throw IDEA
back in our faces.

Thanks
R

0
Avatar
Permanently deleted user

Tim Haley wrote:

likeapear wrote:

>> There is one issue which could help me while debugging:
>> I would like bring to front IDEA main window when debbuged application
>> stops on breakpoint. I'm debugging a swing application and it looks
>> like my application freeze on breakpoint. I must switch to IDEA main
>> window using Windowx XP taskbar or Alt-Tab...
>>
>> What do you think of this issue?
>>
>> -- likeapear
>>


Sounds like you are asking for IDEA to steal the focus.

There are a lot of people that would be angry if that happened any more
than it already does. ;)

See this thread:
news://nntp.intellij.net:119/5367131.1088008922863.JavaMail.itn@is.intellij.net

Sorry, bad link. Try this:
http://www.intellij.net/forums/thread.jsp?forum=22&thread=97546&tstart=0&trange=100

0
Avatar
Permanently deleted user

Sounds like you are asking for IDEA to steal the focus.


But only, when IDEA hits a breakpoint. BTW, in earlier IDEA versions
this was the case (and I liked it): in normal work IDEA did not stole
the focus (or I do not rememeber), but when hitting a breakpoint, IDEA
came to front.

Tom

0
Avatar
Permanently deleted user

I'd rather it flash a window or icon or something to let you know it's
there.

R

0
Avatar
Permanently deleted user

I see a major difference between normal background work like compiling
or opening project and debugging. In the latter case you typically work
with the application and if the breakpoint is hit your debugged
application is blocked until you continue debugging. Not so with the
background work, because you decide to do something else (e.g. posting
to IDEA's newgroup), while IDEA is compiling or opening a project. In
this case it would interrupt your work - when debugging it would make
you work smooth.

Tom

1
Avatar
Permanently deleted user

Yes, this is exactly what I want.

-- likeapear

But only, when IDEA hits a breakpoint. BTW, in earlier IDEA versions
this was the case (and I liked it): in normal work IDEA did not stole
the focus (or I do not rememeber), but when hitting a breakpoint, IDEA
came to front.

Tom

0
Avatar
Permanently deleted user

Maybe, it could be an option...

-- likeapear


"likeapear" <likeapear@domain.com> píse v diskusním príspevku news:cbrvnj$j2c$1@is.intellij.net...
Yes, this is exactly what I want.

-- likeapear

But only, when IDEA hits a breakpoint. BTW, in earlier IDEA versions
this was the case (and I liked it): in normal work IDEA did not stole
the focus (or I do not rememeber), but when hitting a breakpoint, IDEA
came to front.

Tom

0
Avatar
Permanently deleted user


"Thomas Singer (MoTJ)" <nomail@nodomain.com> wrote in message news:cbruu0$e47$1@is.intellij.net...

I see a major difference between normal background work like compiling
or opening project and debugging. In the latter case you typically work
with the application and if the breakpoint is hit your debugged
application is blocked until you continue debugging. Not so with the
background work, because you decide to do something else (e.g. posting
to IDEA's newgroup), while IDEA is compiling or opening a project. In
this case it would interrupt your work - when debugging it would make
you work smooth


...or practically impossible if you're debugging a graphic app on a single screen
system. Big IDEA window will overlap your app window denying you to see
the current app screen. Since you're at a break point you can't
bring your app window back (no repainting) and you're screwed.
Ideally you can use X-mouse mode (my personal preference) to give
IDEA focus and do steps without bringing IDEA's window on top.

So please please please, no unauthorized window flip overs!
Flash the button in the task bar and let me decide what to do!

--Oleg



0
Avatar
Permanently deleted user

I would like bring to front IDEA main window when debbuged application stops on breakpoint. I'm debugging a swing application and

it looks like my application freeze on breakpoint. I must switch to IDEA main window using Windowx XP taskbar or Alt-Tab...

You don't want to do this while debugging graphics on a single screen system.
Use X-mouse mode to move focus without changing windows order. You can
always bring IDEA's window to front by clicking the mouse but not before you
have a chance to see your half-drawn app screen. You can even do steps
and other debugging things while keeping your app window on top of IDEA.
This will also save you from permanent window resizing (and associated resize/repaint
events which pollute debugging) in order to win a tag of war between your app and
IDEA, both of which tend to occupy the biggest portion of the precious screen space.

--Oleg


0
Avatar
Permanently deleted user

...or practically impossible if you're debugging a graphic app on a single screen
system. Big IDEA window will overlap your app window denying you to see
the current app screen. Since you're at a break point you can't
bring your app window back (no repainting) and you're screwed.
Ideally you can use X-mouse mode (my personal preference) to give
IDEA focus and do steps without bringing IDEA's window on top.


Which only works, when your application is not maximized:P

So please please please, no unauthorized window flip overs!
Flash the button in the task bar and let me decide what to do!


Flash the task bar button or bring the window to front is the same on
Windows, depending on a Windows setting. Some software (like FinePrint
2000 I'm using) switches this setting so that applications always pop up
instead of flashing the task bar.

Tom

0
Avatar
Permanently deleted user


"Thomas Singer (MoTJ)" <idea@NOregnisSpam.de> wrote in message news:cbsdt4$9o1$1@is.intellij.net...

...or practically impossible if you're debugging a graphic app on a single screen
system. Big IDEA window will overlap your app window denying you to see
the current app screen. Since you're at a break point you can't
bring your app window back (no repainting) and you're screwed.
Ideally you can use X-mouse mode (my personal preference) to give
IDEA focus and do steps without bringing IDEA's window on top.

>

Which only works, when your application is not maximized:P


Well, why would you maximize your app if you wanted to debug it?
Works fine with IDEA maximized though.

>

So please please please, no unauthorized window flip overs!
Flash the button in the task bar and let me decide what to do!

>

Flash the task bar button or bring the window to front is the same on
Windows, depending on a Windows setting. Some software (like FinePrint


No it's not if you're use X-mouse mode (you'll need TweakUI or similar tool
to enable it). Any way this way you have a chance to see the app screen before
pop-up.

2000 I'm using) switches this setting so that applications always pop up
instead of flashing the task bar.


Hmm, I'd think that this is a bug that have to be reported unless it's a
per-application setting. Is it possible to disable this stuff
while debugging? You don't need FinePrint and debug at the same time, do you?

--Oleg


0

Please sign in to leave a comment.