Summary: | Custom c++ Project, gdb path contains space | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Andreas Schallenberg <Andreas.Schallenberg> |
Component: | CPP Debugger | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.0.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andreas Schallenberg
2004-02-04 15:33:23 UTC
Seams a duplicate of bug 67487 But this one describes the problem much better. I looked over the code and it seems to be the method GDBController::slotStart in gdbcontroller.cpp: ... emit gdbStdout(QString( config_gdbPath_ + " gdb " + application + " -fullname -nx -quiet" ).latin1()); ... That's just an (incorrect) informative message that goes to the gdb window. As you can see from the line above the line you quoted, the dbgProcess should be started correctly. *dbgProcess_ << config_gdbPath_ + "gdb" << application << "-fullname" << "-nx" << "-quiet"; emit gdbStdout(QString( config_gdbPath_ + " gdb " + application + " -fullname -nx -quiet" ).latin1()); Note also that if gdb is in your path you don't need to set the path to gdb. I agreed it's hard to tell what you should enter for the gdb path and with the misleading output it make things even more murky. I'm not sure what the real error is here beyond "debugging doesn't work". What error message are you actually seeing? I tried to reproduce the error but was unsuccessful with this. Since I further developed the project without kdevelop it is quite likely that my problem was a different one and the gdb window message lead me on the wrong track. The rest of my environment (gdb version etc.) did change a bit since that day, too. If you repair the message this report could be closed from my point of view. If I remember correctly it is possible for me to reopen it if it is required? Just by the way: The description string in the GUI could be changed to read "directory where gdb resides" or something like that. Done Directory where gdb resides (eg /usr/bin/) and closing as worksforme ... |