List Info

Thread: MI branch merge




MI branch merge
user name
2006-05-22 11:39:43
On Saturday 20 May 2006 17:13, Andras Mantia wrote:
> Some more bugs:
>
> 1) if you edit a line which had a breakpoint set and
press enter, the
> new lines will also have a breakpoint set. Same issue
if you just
> insert lines somewhere: the breakpoints are not moved
but are fixed to
> the line numbers. This is a bad regression to 2.x days,
something I
> fixed for the old debugger early in 3.0 development.
Basicly means
> setting breakpoints useless because as soon as you edit
the document
> they will not be at the point you really want to. Just
enter some lines
> and delete some others and everything will be a mess.
:-(

I honestly don't know how moving of breakpoints use to work
before. Can you 
give some hints? Did text editor move the marks
automatically, or there was 
explicit code on KDevelop side? 

> 2) After doing what is in 1) Delete All breakpoints
does not work. I
> suspect the bug is just the same: improper handling of
lists (e.g when
> deleting items).
>
> 3) I miss the buttons to delete all or one breakpoint. 

Deleting one breakpoint is done with "Del" key.
I plan to add shortcut names 
to the context meny.

> Using the context 
> menu requires extra click and mouse movements. Anyway,
if you only keep
> the menu, add icons there so the menu items are found
more easily.

Here's a problem. I removed the original toolbar in part
because the icons 
were very unobvious. For example, "delete" and
"delete all" icons were 
identical. I'd be happy to add nicer icons to the menu, but
where do I get 
them?

> 4) when debugging the following for loop:
>   for (KURL::List::ConstIterator i = urls.begin(); i !=
urls.end(); ++i)
>   {
>     if (!QExtFileInfo::exists(*i, true, this))
>     ...
>   }
> in the variables view the content of i
(i->node->data) is OK the first
> time, but after stepping to the next iteration, it is
not, it shows the
> first value for i->node->data. Only the following
fields are updated:
> i->node
> i->node->next
> i->node->prev
> i->node->data->d
>
> but not anything like:
> i->node->data0>m_strPath...

Is this QString field? Maybe the problem is that QString
handling has a slight 
bug... 

> 5) I have some code which look like this:
>  KMimeType::List list = KMimeType::allMimeTypes();
>  KMimeType::List::iterator it;
>  bool status = false;
>  KMimeType::Ptr mime = KMimeType::findByURL(url);
>  QString mimetype = mime->name();
>
> when entering the method, for mimetype the variables
view shows
> (inaccessible). After stepping through the line where
it is
> initialized, it is still (inaccessible). Obvisouly it
*has* some value.

I'd need full debug output from KDevelop to investigate
this. See a separate 
email on obtaining the debug output. 

> 6) this might not be a debugger problem, but I noticed
that with 3.4 if
> I type something and try to undo, the editor looses the
focus after the
> first undo => you have to click to the editor to
perform more undo
> steps.

I suppose that an editor problem.

- Volodya


_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
MI branch merge
user name
2006-05-22 12:04:50
On Monday 22 May 2006 14:39, Vladimir Prus wrote:
> On Saturday 20 May 2006 17:13, Andras Mantia wrote:
> > Some more bugs:
> >
> > 1) if you edit a line which had a breakpoint set
and press enter,
> > the new lines will also have a breakpoint set.
Same issue if you
> > just insert lines somewhere: the breakpoints are
not moved but are
> > fixed to the line numbers. This is a bad
regression to 2.x days,
> > something I fixed for the old debugger early in
3.0 development.
> > Basicly means setting breakpoints useless because
as soon as you
> > edit the document they will not be at the point
you really want to.
> > Just enter some lines and delete some others and
everything will be
> > a mess. :-(
>
> I honestly don't know how moving of breakpoints use to
work before.
> Can you give some hints? Did text editor move the marks
> automatically, or there was explicit code on KDevelop
side?

First the behavior: the breakpoints were assigned to a
specific line, 
not the line number. If you moved the line with
enters/deleting line 
before the breakpoint moved with the line. I find this
essential.
As far as I know the code to handle this was completely in
KDevelop.
I can search for my old commit if you want. 

>
> > 2) After doing what is in 1) Delete All
breakpoints does not work.
> > I suspect the bug is just the same: improper
handling of lists (e.g
> > when deleting items).
> >
> > 3) I miss the buttons to delete all or one
breakpoint.
>
> Deleting one breakpoint is done with "Del"
key. I plan to add
> shortcut names to the context meny.

That's good. Please add icons as well. 

> Here's a problem. I removed the original toolbar in
part because the
> icons were very unobvious. For example,
"delete" and "delete all"
> icons were identical. I'd be happy to add nicer icons
to the menu,
> but where do I get them?

You may request new icons from artists or add only to some
entries, like 
"delete", but not "delete all".
>
> > 4) when debugging the following for loop:
> >   for (KURL::List::ConstIterator i = urls.begin();
i != urls.end();
> > ++i) {
> >     if (!QExtFileInfo::exists(*i, true, this))
> >     ...
> >   }
> > in the variables view the content of i
(i->node->data) is OK the
> > first time, but after stepping to the next
iteration, it is not, it
> > shows the first value for i->node->data.
Only the following fields
> > are updated: i->node
> > i->node->next
> > i->node->prev
> > i->node->data->d
> >
> > but not anything like:
> > i->node->data0>m_strPath...
>
> Is this QString field? Maybe the problem is that
QString handling has
> a slight bug...

Sure, it is the "path" field of KURL. I'm not
sure if it's QString 
specific though.

> > 5) I have some code which look like this:
> >  KMimeType::List list = KMimeType::allMimeTypes();
> >  KMimeType::List::iterator it;
> >  bool status = false;
> >  KMimeType::Ptr mime = KMimeType::findByURL(url);
> >  QString mimetype = mime->name();
> >
> > when entering the method, for mimetype the
variables view shows
> > (inaccessible). After stepping through the line
where it is
> > initialized, it is still (inaccessible). Obvisouly
it *has* some
> > value.
>
> I'd need full debug output from KDevelop to
investigate this. See a
> separate email on obtaining the debug output.

Ok, I will do it.

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.o
rg
K Desktop Environment - http://www.kde.org
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
MI branch merge
user name
2006-05-22 12:22:40
On Monday 22 May 2006 14:39, Vladimir Prus wrote:
> I honestly don't know how moving of breakpoints use to
work before.
> Can you give some hints? Did text editor move the marks
> automatically, or there was explicit code on KDevelop
side?

Here are some links to the discussion:
http://thread.gmane.org/gmane.comp.kde.deve
l.kdevelop/3036/focus=3073
http://thread.gmane.org/gmane.comp.kde.deve
l.kdevelop/3021/focus=3024

And similar bugs which appeared now:
http://article.gmane.org/gmane.comp.kde.devel.
kdevelop/2897/match=
http://article.gmane.org/gmane.comp.kde.devel.
kdevelop/2899/match=

-- 
Quanta Plus developer - http://quanta.kdewebdev.o
rg
K Desktop Environment - http://www.kde.org
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
Icons (Was: MI branch merge)
user name
2006-05-23 07:53:44
On Monday 22 May 2006 16:04, Andras Mantia wrote:

> > Here's a problem. I removed the original toolbar
in part because the
> > icons were very unobvious. For example,
"delete" and "delete all"
> > icons were identical. I'd be happy to add nicer
icons to the menu,
> > but where do I get them?
>
> You may request new icons from artists 

Where do I find the artists, and what is the procedure for
requesting icons?

Thanks,
Volodya

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
Icons (Was: MI branch merge)
user name
2006-05-24 06:34:30
On Tuesday 23 May 2006 10:53, Vladimir Prus wrote:
> On Monday 22 May 2006 16:04, Andras Mantia wrote:
> > > Here's a problem. I removed the original
toolbar in part because
> > > the icons were very unobvious. For example,
"delete" and "delete
> > > all" icons were identical. I'd be
happy to add nicer icons to the
> > > menu, but where do I get them?
> >
> > You may request new icons from artists
>
> Where do I find the artists, and what is the procedure
for requesting
> icons?

Request them on kde-artistskde.org, by giving a hint
about how would 
you like to see it and what it is needed for.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.o
rg
K Desktop Environment - http://www.kde.org
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
debugger - attach to process does not work
user name
2006-05-25 01:51:17
Hi, since the last version of the svn, I cannot attach to
other processes 
anymore. Am I the only one who experiences this problem?

I would search for the bug, but since the debugger doesn't
work for me now, 
that would be really hard 

Vladimir:
Maybe you've got an Idea what might cause the problem,
since it must be 
something you've comitted since yesterday?

greetings, David

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
debugger - attach to process does not work
user name
2006-05-25 01:51:35
Hi, since the last version of the svn, I cannot attach to
other processes 
anymore. Am I the only one who experiences this problem?

I would search for the bug, but since the debugger doesn't
work for me now, 
that would be really hard 

Vladimir:
Maybe you've got an Idea what might cause the problem,
since it must be 
something you've comitted since yesterday?

greetings, David

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
debugger - attach to process does not work
user name
2006-05-25 07:30:03
On Thursday 25 May 2006 05:51, David Nolden wrote:
> Hi, since the last version of the svn, I cannot attach
to other processes
> anymore. Am I the only one who experiences this
problem?
>
> I would search for the bug, but since the debugger
doesn't work for me now,
> that would be really hard 

Hi David,
things work fine on my end. Are you sure your tree is up to
date? If not, can 
you produce debugger log as I've explained recently and
send it to me.

> Vladimir:
> Maybe you've got an Idea what might cause the problem,
since it must be
> something you've comitted since yesterday?

What precisely does not work. There's one change, revision
r543945 that stops 
KDevelop from showing current line indicator when gdb
reports there's no 
source. Maybe that's what happening. Do you see anything in
framestack 
widget?

- Volodya

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
MI branch merge
user name
2006-05-31 10:04:05
On Monday 22 May 2006 15:22, Andras Mantia wrote:
> On Monday 22 May 2006 14:39, Vladimir Prus wrote:
> > I honestly don't know how moving of breakpoints
use to work before.
> > Can you give some hints? Did text editor move the
marks
> > automatically, or there was explicit code on
KDevelop side?
>
> Here are some links to the discussion:
> http://thread.gmane.org/gmane.comp.kde.deve
l.kdevelop/3036/focus=3073
> http://thread.gmane.org/gmane.comp.kde.deve
l.kdevelop/3021/focus=3024
>
> And similar bugs which appeared now:
> http://article.gmane.org/gmane.comp.kde.devel.
kdevelop/2897/match=
> http://article.gmane.org/gmane.comp.kde.devel.
kdevelop/2899/match=

The breakpoint moving problem seems to be only partly fixed.
Inserting a 
new line before moves the breakpoint, but deleting a line
before the 
breakpoint doesn't work correctly: it moves the breakpoint,
but leaves 
(according to the Breakpoint view) another one at the
original line as 
well. Deleting multiple (N) lines before the breakpoint
leaves N+1 
breakpoints.

Of course Delete All does not work after this.

Do you still need the debug output?

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.o
rg
K Desktop Environment - http://www.kde.org
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
[1-9]

about | contact  Other archives ( Real Estate discussion Medical topics )