QtCreator shortcut for enable/disable breakpoint - qt-creator

One of the useful shortcut during debugging software via debugger is the shortcut to Enable/Disable Breakpoint.
I checked Qt Creator documentaion, but I didn't find such thing.
I have found only delete/append breakpoint via F9
Does it exist some workaround or How Disable/Enable it?

Sorry you won't find it. I just check in Qt-creator source code for the feature and enabling/disabling break point command only exists through contextual menu in editor or breakpoint viewer. As the menu is dynamic and the associated action is just temporary in the code, no way to attach here a shortcut.
Maybe you could try with a feature request at Qt Creator bug report.

Related

How can i use the register debug window in visual studio

I am currently learning assembly and i am using visual studio to do so. however when i went to evaluate the registers there was no option in the debug drop down. Would i need to install it or activate a setting?
Dont have enough reputation to embed a picture sorry.
The registers window can be opened via Debug > Windows > Registers, when the debugger is active. In the normal editor mode, it does not show up as an option. The set of registers shown in the registers window can be changed via the right-click menu.
Make sure you have enabled address-level debugging in Tools=> Options=> Debugging node.
Don't forget to set a breakpoint, then run the the program in debugging mode.
If you still can't see the Register Option, consider the following: Go to Tools => import and Export Settings => Reset all settings.
Check "Yes, save my current settings," in case you may need to get your old settings back for some reason.
Microsoft Reference
Another Reference
Do all the steps and check the things the people above me said but to seek the register option in the drop down window, set the break point and run the program and then go to the dropdown window. Now it should be there.

Setting a conditional breakpoint in Firebug for Mac

I can't seem to set a conditional breakpoint in Firebug. Every Google search I've done indicates that I should be able to Right-click the line of code in question, at which point a "bubble" will appear asking me for the condition on which the break should be executed. Right clicking does in fact toggle the breakpoint's existence, but no bubble appears. How/where do I enter my condition?
Of course Mac mouses don't have a "right-click" button but assumed I could simulate right-click using Control. I've also tried Alt and Command to no avail.
I am running on Mac/Yosemite.
Thanks.
To be precise you need to right-click the breakpoint column or right-click inside the line and then choose Edit Breakpoint Condition... from the context menu. If you do so the condition editor should appear, which looks like this on Windows (on Mac it's black):
There is currently (Firebug 2.0.x) no keyboard shortcut for this action, so right-clicking is not working for you, it might be a bug in Firebug. In that case you should go through the steps described at Firebug's first aid page and file a bug if the steps don't help you.

Debug->Exceptions option missing in VS2010

I want my code to break on exceptions and so usually in VS2010 I go to the dialog Debug->Exceptions... to enable this.
But on a new install of VS2010 Professional that option in the Debug menu is completely missing. Has anyone seen this before?
From here:
http://msdn.microsoft.com/en-us/library/d14azbfh.aspx#addexceptionscommand
Do this:
To add the Exceptions command to the Debug menu
On the Tools menu, click Customize.
The Customize dialog box appears.
Click the Commands tab and, in the Menu bar list, click Debug.
Click Add Command.
In Categories in the Add Command dialog box, click Debug.
In Commands, click Exceptions and then click OK.
(Optional) You can click Move Down to adjust the position of the Exceptions command on the Debug menu.
Click Close.
Visual studio can be used with various languages and environments. Therefore, the basic IDE have different settings for each purpose (this is somewhat like Eclipse perspectives). Using a certain language profile does not mean VS cannot be used to develop another language, but some of the IDE's functionality might not be available. To solve this issue, the IDE's profile can be modified as described here.

QT Creator easier "contexthelp"

I just started using the QT Creator but there's some stuff that really annoys me...
I like that i can show the coding window and the context help window next to each other.
But the shortcut for showing the context help for the currently selected Symbol is F1, which is just terrible as Mac-User #_#
Now it would be nice if I could either put in on alt+"left mouse button".
What would be even better is, if i select a word with the mouse and it's a QT-Object like QSlider, to automatically change the content of the help window to the selected word.
Any help on that matter? :/
Yes, you can customise the Keyboard short-cuts in Qt Creator:
Open the Options dialog (on Windows, it's via Tools->Options - I presume it'll be somewhere different on a Mca)
In the Environment page, select the Keyboard tab.
Scroll down to the Help section, and change the setting on the Context command from F1 to whatever you want it to be.
This should go some way to making it easier for you to use.
Edit
If you want to make wider changes, you could always import a .kms QtCreator keyboard definitions file that someone else has created. For example, searching for 'qt creator kms' points to:
TextMate key mapping scheme for Qt Creator
XCode Keyboard Mapping for Qt Creator

Disable qt creator auto build when debug

How to disable qt creator from auto building when trying to debug?
Currently when debug button is clicked, it automatically starts build. I want to disable this and just proceed to debug.
Navigate to Tools/Options.
Select Projects, General tab.
Uncheck "Always build project before running".
That is not probably what you really want, since your source code may become out of sync with the binary. That is why this is enforced.

Resources