Difference between revisions of "GSoC/2016/StatusReports/PeifengYu"

< GSoC‎ | 2016‎ | StatusReports
Jump to: navigation, search
(Created page with "{{Construction}} == KDevelop: LLDB Support == The aim of the project is to integrate '''LLDB''' as a C/C++ debugging backend for KDevelop. By adding decent IDE support for LL...")
 
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Construction}}
 
 
 
== KDevelop: LLDB Support ==
 
== KDevelop: LLDB Support ==
 
The aim of the project is to integrate '''LLDB''' as a C/C++ debugging backend for KDevelop. By adding decent IDE support for LLDB, it would be useful for users on platforms where GDB support is rather scarce and make it possible to use KDevelop completing daily debug tasks.
 
The aim of the project is to integrate '''LLDB''' as a C/C++ debugging backend for KDevelop. By adding decent IDE support for LLDB, it would be useful for users on platforms where GDB support is rather scarce and make it possible to use KDevelop completing daily debug tasks.
Line 6: Line 4:
  
 
== Work report ==
 
== Work report ==
[https://summerofcode.withgoogle.com/projects/#5876789628895232 Project page] <br />
 
[https://quickgit.kde.org/?p=kdevelop.git&a=search&st=author&s=Peifeng+Yu Project commits] (from d2e8761413b3fa039a79c59b32f9176e120f0b74 to 91d7176c7a10cdb8eb65e8aa20ea0cd3816ed8e7) <br />
 
[https://github.com/Aetf/GSoC2016Proposals/blob/master/KDevelop-LLDB.md GSoC Application] <br />
 
[https://unlimitedcodeworks.xyz/blog/2016/04/23/gsoc-kdevelop-lldb-support 2016/04/23 1st Blog post] <br />
 
[https://unlimitedcodeworks.xyz/blog/2016/05/14/gsoc-communicating-with-lldb 2016/05/14 2nd Blog post] <br />
 
[https://unlimitedcodeworks.xyz/blog/2016/06/28/gsoc-mid-term-evaluation 2016/06/28 3rd Blog post] <br />
 
[https://unlimitedcodeworks.xyz/blog/2016/08/03/gsoc-kdevelop-lldb-status 2016/08/03 4th Blog post] <br />
 
[https://unlimitedcodeworks.xyz/blog/TODOTODOTODO 2016/08/03 TODOTODO Final blog post] <br />
 
  
 +
*[https://summerofcode.withgoogle.com/projects/#5876789628895232 Project page]
 +
*[https://quickgit.kde.org/?p=kdevelop.git&a=search&st=author&s=Peifeng+Yu Project commits] <br /> (from <code>d2e8761413b3fa039a79c59b32f9176e120f0b74</code> to <code>08b771eaa81335277054d9ebe620c860b666147d</code>)
 +
*[https://github.com/Aetf/GSoC2016Proposals/blob/master/KDevelop-LLDB.md GSoC Proposal]
 +
*[https://unlimitedcodeworks.xyz/blog/2016/04/23/gsoc-kdevelop-lldb-support 2016/04/23 1st Blog post]
 +
*[https://unlimitedcodeworks.xyz/blog/2016/05/14/gsoc-communicating-with-lldb 2016/05/14 2nd Blog post]
 +
*[https://unlimitedcodeworks.xyz/blog/2016/06/28/gsoc-mid-term-evaluation 2016/06/28 3rd Blog post]
 +
*[https://unlimitedcodeworks.xyz/blog/2016/08/03/gsoc-kdevelop-lldb-status 2016/08/03 4th Blog post]
 +
*[https://unlimitedcodeworks.xyz/blog/2016/08/21/gsoc-kdevelop-lldb-final-report 2016/08/21 Final blog post]
  
 
== Project Status ==
 
== Project Status ==
  
 +
The code has been merged into the master branch in the repository.
  
 
*'''Debug session:'''
 
*'''Debug session:'''
Line 26: Line 25:
 
***'''Basic breakpoints'''<pre style="color: green;">done</pre>
 
***'''Basic breakpoints'''<pre style="color: green;">done</pre>
 
***'''Conditional breakpoints'''<pre style="color: green;">done</pre>
 
***'''Conditional breakpoints'''<pre style="color: green;">done</pre>
***'''Watch points'''<pre style="color: orange;">blocked by upstream bug</pre>
 
 
**'''Infomation inspection'''
 
**'''Infomation inspection'''
 
***'''Frame & stack'''<pre style="color: green;">done</pre>
 
***'''Frame & stack'''<pre style="color: green;">done</pre>
Line 32: Line 30:
 
***'''Info when hovering over symbols'''<pre style="color: green;">done</pre>
 
***'''Info when hovering over symbols'''<pre style="color: green;">done</pre>
 
***'''Pretty printer & Unicode'''<pre style="color: green;">done</pre>
 
***'''Pretty printer & Unicode'''<pre style="color: green;">done</pre>
***'''Disassembly & register'''<pre style="color: red;">unfinished</pre>
+
***'''Disassembly & register'''<ref>[https://llvm.org/bugs/show_bug.cgi?id=28718 BUG28718]</ref><ref>[https://llvm.org/bugs/show_bug.cgi?id=28859 BUG28859]</ref><pre style="color: orange;">blocked by upstream bug</pre>
 
***'''Memory view'''<pre style="color: red;">unfinished</pre>
 
***'''Memory view'''<pre style="color: red;">unfinished</pre>
 
**'''Functionalities'''
 
**'''Functionalities'''
 
***'''Multi-threaded debugee'''<pre style="color: green;">done</pre>
 
***'''Multi-threaded debugee'''<pre style="color: green;">done</pre>
 
***'''Remote debugging'''<pre style="color: green;">done</pre>
 
***'''Remote debugging'''<pre style="color: green;">done</pre>
***'''Attach to process'''<pre style="color: orange;">blocked by upstream bug</pre>
+
***'''Attach to process'''<ref>[https://llvm.org/bugs/show_bug.cgi?id=28858 BUG28858]</ref><pre style="color: orange;">blocked by upstream bug</pre>
 
***'''Examine core file'''<pre style="color: red;">unfinished</pre>
 
***'''Examine core file'''<pre style="color: red;">unfinished</pre>
 
***'''Drkonqi support'''<pre style="color: red;">unfinished</pre>
 
***'''Drkonqi support'''<pre style="color: red;">unfinished</pre>
Line 43: Line 41:
 
**'''Debug configuration page'''<pre style="color: green;">done</pre>
 
**'''Debug configuration page'''<pre style="color: green;">done</pre>
  
 +
<references />
  
 
=== Screenshots ===
 
=== Screenshots ===
Line 53: Line 52:
 
;Tool views
 
;Tool views
 
:{|class="tablecenter" style="border: 1px solid grey;"
 
:{|class="tablecenter" style="border: 1px solid grey;"
|[[File:kdev-lldb-breakpoints.png|230px|center]]||[[File:kdev-lldb-debuggerconsole.png|230px|center]]
+
|[[File:kdev-lldb-debuggerconsole.png|230px|center]]||[[File:kdev-lldb-breakpoints.png|230px|center]]
 
|-
 
|-
 
|[[File:kdev-lldb-variables.png|230px|center]]||[[File:kdev-lldb-framestack.png|230px|center]]
 
|[[File:kdev-lldb-variables.png|230px|center]]||[[File:kdev-lldb-framestack.png|230px|center]]
 
|}
 
|}
  
 
+
== About Me ==
== Me ==
 
 
'''IRC Nick:''' aetf
 
'''IRC Nick:''' aetf
  

Latest revision as of 17:01, 20 August 2016

KDevelop: LLDB Support

The aim of the project is to integrate LLDB as a C/C++ debugging backend for KDevelop. By adding decent IDE support for LLDB, it would be useful for users on platforms where GDB support is rather scarce and make it possible to use KDevelop completing daily debug tasks.


Work report

Project Status

The code has been merged into the master branch in the repository.

  • Debug session:
    • Session control (begin, start, kill, etc.):
      done
    • Execution control (next, jump, interrupt, etc.):
      done
    • Debugger console
      done
    • Breakpoints:
      • Basic breakpoints
        done
      • Conditional breakpoints
        done
    • Infomation inspection
      • Frame & stack
        done
      • Local variables & expressions
        done
      • Info when hovering over symbols
        done
      • Pretty printer & Unicode
        done
      • Disassembly & register[1][2]
        blocked by upstream bug
      • Memory view
        unfinished
    • Functionalities
      • Multi-threaded debugee
        done
      • Remote debugging
        done
      • Attach to process[3]
        blocked by upstream bug
      • Examine core file
        unfinished
      • Drkonqi support
        unfinished
  • Launch configuration
    • Debug configuration page
      done

Screenshots

LLDB launch configuration
Kdev-lldb-lldbconfigpage.png
A debug session
Kdev-lldb-debugging.png
Tool views
Kdev-lldb-debuggerconsole.png
Kdev-lldb-breakpoints.png
Kdev-lldb-variables.png
Kdev-lldb-framestack.png

About Me

IRC Nick: aetf

IRC Channels: #kdevelop, #kde-devel, #kde-cn

Blog: unlimitedcodeworks.xyz


This page was last edited on 20 August 2016, at 17:01. Content is available under Creative Commons License SA 4.0 unless otherwise noted.