Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 4.15.0-beta1
-
None
-
Debian testing with Qt Creator built from git master as of commit b281d6f00af6a3ceb590ac4cd58fc297bae882c9;
GDB 10.1
-
-
28e8538227f3e0347a09f336b6cf17982bd93f87
Description
Trying to set a condition for a breakpoint fails when the dialog to edit the breakpoint is opened via context menu in the breakpoints view.
Steps to reproduce:
- set up a project with the simple attached sample program that increments a variable in a loop)
- set a breakpoint at line 9 ("i++;")
- start debugger -> it stops at the breakpoint
- right-click on the breakpoint in the breakpoints view
- select "Edit selected Breakpoints..." in the context menu
- enter condition: "i == 50"
- press "OK" to close the dialog
- check the value in the "Condition" column for the breakpoint in the breakpoints view
- press F5 to continue debugging and check value of variable "i" when debugger stops again
Result:
- at step 8: the column is empty
- at step 9: the value of "i" is 1
Expected result:
Since the condition "i == 50" was set for the breakpoint:
- at step 8: the column should contain the condition: "i == 50"
- at step 9: the value of "i" should be 50, since that is the condition for which the breakpoint should be stopped at
Attachments
For Gerrit Dashboard: QTCREATORBUG-25035 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
324996,3 | Debugger: Fix editing breakpoints via breakpoints view | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |