Bug #1370

cmd.exe dosent' apper when debugging with mingw debuger

Added by Zbigniew Rebacz about 8 years ago. Updated almost 7 years ago.

Status:ApprovedStart date:01/16/2016
Priority:HighDue date:
Assignee:Zbigniew Rebacz% Done:

0%

Category:IDESpent time:-
Target version:Release 2017.2

Description

Reproducing:
1. Swith to Mingw build method.
2. Start debugin (CTRL + F5)
3. Result: no output


Related issues

Duplicated by Feature #1731: GDB - MingGW : Display output of target application in a ... Rejected 05/28/2017

History

#1 Updated by Zbigniew Rebacz about 8 years ago

Tested on Windows 10.

#2 Updated by Zbigniew Rebacz about 8 years ago

Instead of CTRL + F5 should be F5

#4 Updated by Zbigniew Rebacz about 7 years ago

  • Target version changed from Release 2017.1 to Release 2017.2

#5 Updated by Zbigniew Rebacz almost 7 years ago

  • Assignee changed from Miroslav Fidler to Abdelghani Omari

I tested this problem 3 weeks ago and it seems to disappear. Even "system("pause")" works with debugger. It should be fixed indirectly - but of course it is good for us. Omari can you verify that terminal is open while debugging console apps?

You can simply compile one of Core example and add breakpoints in the code. The terminal should be displayed on the screen. Moreover, the system("pause") should also works without breakpoints :)

#6 Updated by Zbigniew Rebacz almost 7 years ago

  • Priority changed from Normal to High

Priority change to high due to impact on the end user of TheIDE.

#7 Updated by Zbigniew Rebacz almost 7 years ago

  • Status changed from New to Ready for QA

#8 Updated by Abdelghani Omari almost 7 years ago

Test case:
  • Env: Win7 pro, Upp 11171
  • reference/BasicAlgo
  • set a breakpoint at line 10
  • start debug (F5)
Result:
  • cmd.exe dosent' apper.

the feature #1731 is exactly for this issue.

#9 Updated by Zbigniew Rebacz almost 7 years ago

Ok - thanks for confiramtion - i will look into it.

#10 Updated by Zbigniew Rebacz almost 7 years ago

  • Duplicated by Feature #1731: GDB - MingGW : Display output of target application in a separate console added

#11 Updated by Zbigniew Rebacz almost 7 years ago

  • Status changed from Ready for QA to In Progress
  • Assignee changed from Abdelghani Omari to Zbigniew Rebacz

#12 Updated by Zbigniew Rebacz almost 7 years ago

  • Status changed from In Progress to Ready for CR
  • Assignee changed from Zbigniew Rebacz to Abdelghani Omari

On the trunk under following commit: https://github.com/ultimatepp/mirror/commit/99e6b58972aa4cbc2ce6cc3ffe4b8075a84f21ed. Omari please check and let me know if it works like it should be. I tested and works well. Thanks for oustanding contribution!

#13 Updated by Abdelghani Omari almost 7 years ago

i will test with the next nightly build.

#14 Updated by Zbigniew Rebacz almost 7 years ago

I tested with Windows 7 - nightly builds and works fine.

#15 Updated by Abdelghani Omari almost 7 years ago

  • Status changed from Ready for CR to Ready for QA
  • Assignee changed from Abdelghani Omari to Zbigniew Rebacz

Test OK. it works fine.

#16 Updated by Zbigniew Rebacz almost 7 years ago

  • Status changed from Ready for QA to Approved

Also available in: Atom PDF