c++ - how to use gdb to debug a GUI program -


i know how debug console program, if program has gui? example, there calc icon, when push down, call methods. want know methods call. have source codes have no idea file corresponds what, , want back-track codes implement if click on icon.

there conceptually isn't difference between debugging gui application , console application - both come down procedural programming - action calls particular function. there's no difference whether trigger of action pressing button on gui, or typing in command in console. can use debugger both of them (visual or command line).

if have source, , know triggering mechanism is, should easy enough follow along in source code see functions called trigger (eg. not @ runtime). have question tagged qt, uses connect function connect 'signals' (events) either other signals or 'slots'. associates callback function, particular event, searching source starting place.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -