<font color="#003300"><font face="georgia,serif">I realise that when presenting the idea it sounded like I was asking for already existing things. </font></font><font color="#003300"><font face="georgia,serif">Perhaps it is difficult to see the utility of my suggestion from my story without having been me with my bug at that particular time. In my case the changes, consequences, and potential positions of the bug reached over a significant number of files, making it difficult to overview.</font></font><br>

<font color="#003300"><font face="georgia,serif"><br>In short, what I am proposing boils down to two capabilities inside the IDE:<br><br>1) Being able to set a "revert point" before setting out on a journey of changes.<br>

2) Being able to view a single-page digest in a tab of all changes since the revert point.<br><br>The "digest page" is a convenience many VCS hosts provide, basically a HTML page with all changes in a changeset nicely and pedagogically presented on one page for instant overview. It could be invaluable to have a function like that available inside the IDE for immediate, perhaps real-time, overview of all changes. <br>

<br>Michael<br><br></font></font><font color="#003300"><font face="georgia,serif"><br></font></font><div class="gmail_quote">On 12 August 2011 15:53, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 12.08.11 15:32:47, Michael Andersson wrote:<br>
> Hi, this is my first mail to the KDevelop-devel list, and if I suggest<br>
> something already discussed, I apologise.<br>
><br>
> Yesterday I was coding as usual, revising a relatively complex part of my<br>
> C++ project for the new requirements that it had to be adapted to. The<br>
> changes led to a subtle bug, which took hours to track down, only in this<br>
> case a bit more insidious than usual. What I finally did to locate it was to<br>
> commit my non-working changeset to my git repo and then studied the commit<br>
> diffs for all change points. This allowed me to finally find the offending<br>
> lines and eliminate the bug.<br>
><br>
> This was less than perfect for two reasons: first, I had to actually commit<br>
> to see a digest of what I had updated since the start of the session.<br>
<br>
</div>Why? Or rather what was insufficient about git diff showing you the diff<br>
to the base commit that you started from?<br>
<div class="im"><br>
> Secondly, I had to commit non-working code, which I otherwise would never<br>
> do.<br>
<br>
</div>Locally, you know with git you can rewrite history and hence such<br>
commits can disappear before you push.<br>
<div class="im"><br>
> However, it made me realise that a versioning system could actually be used<br>
> as (or perhaps more correctly, be subverted into) a debugging tool. Clearly a<br>
> versioning system shouldn't be used as a debugging aid, but just as clearly,<br>
> there is a tool or IDE aid waiting to be made here.<br>
><br>
> What if it was possible to start a--let's call it-- "session", which would<br>
> be a point of origin against which all subsequent changes would be tracked,<br>
> and these changes could then be reverted to the session start or be<br>
> displayed as a digest? To some extent, most editors already support change<br>
> tracking with green and yellow change indicators in the margin, but a<br>
> "session" as I'm talking about here would be ramped-up compared to the<br>
> simple margin colours. Perhaps sequences of such "sessions" could even be<br>
> stored as a kind of "meta-undo" and progressive code digest presentation<br>
> tool.<br>
><br>
> So that is my idea: a session tracker system that would or could be part of<br>
> KDevelop. I am looking forward to feedback!<br>
<br>
</div>I somehow fail to see where this is different from/better than creating<br>
commits in a VCS that allows you to rewrite history or just using the<br>
vcs-tools to show you all changes you've done. So either I'm missing<br>
something from your original explanation or all this already exists<br>
today and you just need to discover it.<br>
<br>
Andreas<br>
<font color="#888888"><br>
<br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></div><br>