Skip to Content
Hands-On GUI Programming with C++ and Qt5
book

Hands-On GUI Programming with C++ and Qt5

by Lee Zhi Eng
April 2018
Intermediate to advanced
404 pages
8h 27m
English
Packt Publishing
Content preview from Hands-On GUI Programming with C++ and Qt5

Setting breakpoints

Setting a breakpoint is another good way to debug your program. When you right-click on the line number of your script in Qt Creator, you will get a pop-up menu with three options, which you can see in the following screenshot:

The first option is called Set Breakpoint at Line..., which lets you set a breakpoint at a specific line on your script. A red dot icon will appear beside the line number once you have created a breakpoint:

The second option is called Set Message Tracepoint at Line..., which prints a message when ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ GUI Programming with Qt 4

C++ GUI Programming with Qt 4

Jasmin Blanchette, Mark Summerfield

Publisher Resources

ISBN: 9781788397827Supplemental Content