code-google-com / qdevelop

Automatically exported from code.google.com/p/qdevelop
GNU General Public License v2.0
1 stars 1 forks source link

Debug: Set Breakpoint -> Run Debug -> opens duplicate file #384

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a sourcefile 
2. Set a breakpoint in a source file.
3. Start application in debug mode. If the breakpoint is reached  
4. QDevelop opens a new texteditor with a duplicate of that source file
and does not use the previous opened sourcefile.

What is the expected output? What do you see instead?
QDevelop should never open a file twice.

What version of the product are you using? On what operating system?
Both QDevelop 0.28-2 and 0.29-SVN (Feb-14-2011) compiled for 64bit ( Ubuntu 
10.10 )

Please provide any additional information below.
QDevelop 0.28-2 for i386 does not open the sourcefile twice when debug 

Additional information
0.29-SVN (Feb-14-2011) does not compile without changing two lines of code.
1. build.h ->   void message(QString, QString="");
2. textedit.h ->     void slotFind(Ui::FindWidget uiFind, Ui::ReplaceWidget 
uiReplace, QString ttf="",  QTextDocument::FindFlags options=0, bool 
fromButton=false);

In both lines i replaced QString xxx=0 with QString xxx="" 

Original issue reported on code.google.com by s...@sigvdr.de on 14 Feb 2011 at 7:27