Recent

Author Topic: Feature request/suggestion: have an "Always on top" option for console apps.  (Read 729 times)

440bx

  • Hero Member
  • *****
  • Posts: 5479
Hello,

As the title says, it would be very nice for the debugger to give the option to make the console window "Always on top".  That combined with telling Windows where to put the console can make debugging much easier by keeping the console output always visible.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11361
  • Debugger - SynEdit - and more
    • wiki
Is there such an option in the Windows API? TProcess does IIRC not have anything of the kind...

440bx

  • Hero Member
  • *****
  • Posts: 5479
Is there such an option in the Windows API? TProcess does IIRC not have anything of the kind...
Yes.

SetWindowPos is tailor made for that feature.   

I attached an example I wrote long ago that flip flops its window from not-topmost to topmost and viceversa as desired.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11361
  • Debugger - SynEdit - and more
    • wiki
Ok, I have to see about it.
But to me currently rather low prior. So needs to go onto the issue tracker, if it shouldn't get forgotten.

I have a long list of other stuff I want to do first.
- various SynEdit
- better exception stepping/handling in the debugger
- improved console out (linux)
- faster conditional watches
- various improvements on the debug history window
- Dwarf 4 and 5
- tests with fpc-llvm / tests with gcc (just more test that the Dwarf handling works)
- improved error messages
- debug threaded targets / thread specific breakpoints
- finish the debugger backend API / create a debugger frontend API (for plugins)
- ...

There are probably some other feature requests / issues that I want to squeeze into the above list.

440bx

  • Hero Member
  • *****
  • Posts: 5479
But to me currently rather low prior. So needs to go onto the issue tracker, if it shouldn't get forgotten.
No problem, I understand it's one small thing in a pile of things to do.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018