Summary: | Debug option: "Enable seperate terminal for application Io" crashes kdevelop if application "konsole" is not installed | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | looije |
Component: | CPP Debugger | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
looije
2006-07-07 21:42:35 UTC
Anybody knows how to add konsole to the autotolls dependencies ? The problem isn't directly tied to the 'konsole' application. Any terminal application set in the configuration that doesn't actually exist will lead to the debugger plugin hanging KDevelop. It should verify that the terminal app actually exists before attempting to use it. SVN commit 622837 by dagerbo: Don't hang if the user has configured a non-existing terminal app BUG: 130436 M +5 -0 stty.cpp --- branches/kdevelop/3.4/languages/cpp/debugger/stty.cpp #622836:622837 @@ -285,6 +285,11 @@ { QString appName(termApp.isEmpty() ? QString("xterm") : termApp); + if ( KStandardDirs::findExe( termApp ).isEmpty() ) + { + return false; + } + char fifo[] = FIFO_FILE; int fifo_fd; if ((fifo_fd = mkstemp(fifo)) == -1) |