Skip to content
Snippets Groups Projects
Commit bed8a060 authored by hjk's avatar hjk
Browse files

debugger: fix crash for 'Create Full Backtrace' on engines that don't support

it.
parent 7c4eb002
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,8 @@ void StackWindow::contextMenuEvent(QContextMenuEvent *ev) ...@@ -105,7 +105,8 @@ void StackWindow::contextMenuEvent(QContextMenuEvent *ev)
QAction *actCopyContents = menu.addAction(tr("Copy Contents to Clipboard")); QAction *actCopyContents = menu.addAction(tr("Copy Contents to Clipboard"));
actCopyContents->setEnabled(model() != 0); actCopyContents->setEnabled(model() != 0);
menu.addAction(theDebuggerAction(CreateFullBacktrace)); if (engineCapabilities & CreateFullBacktraceCapability)
menu.addAction(theDebuggerAction(CreateFullBacktrace));
QAction *actShowMemory = menu.addAction(QString()); QAction *actShowMemory = menu.addAction(QString());
if (address.isEmpty()) { if (address.isEmpty()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment