Documentation Development Beat

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(bettered form)
(Some info on the checkpoint restore feature)
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{header|docs}}
 
{{header|docs}}
 
{{Docs_beat_open}}
 
{{Docs_beat_open}}
= Development Tools =
+
[[Category:Docs Project]]
This section describes the enhancement in development tools available in Fedora 15. 
+
  
== gdb ==
+
= Checkpoint and Restore Applications with CRUI =
This new '''GDB''' release 7.3 together with [http://sourceware.org/gdb/wiki/ArcherBranchManagement Archer] and Fedora extensions improves debugging experience on Fedora by making the debugger more powerful. The majority of these features were written by Red Hat engineers, thus benefiting all gdb users.  New features for the Fedora 15 release are not limited to:
+
The CRIU (Checkpoint/Restore in User-space) projects offers a user-space implementation of process and process group checkpoint/restore. With the user-space tools crtools included in this release it is possible checkpoint processes and restore them at a later time again (e.g. after a crash) or migrate the checkpointed process or process group to another system. CRIU aims to be as transparent as possible so that no instrumentation or re-compilation of the process to be checkpointed is necessary.
* Support for breakpoints at [http://sourceware.org/systemtap/wiki/AddingUserSpaceProbingToAppsSystemtap SystemTap markers (probes)]
+
* Support for using labels in the program's source
+
* OpenCL language debugging support
+
* Thread debugging of core dumps - priting <code>pthread_t</code> of threads and their TLS variables
+
* Python scripting improvements not limited to:
+
** GDB values in Python are now callable if the value represents a function address.
+
** New module gdb.types for inferior types.
+
** New module gdb.printing for writing and registering pretty-printers.
+
More features are listed [http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/src/gdb/NEWS?cvsroot=src upstream] above the line <code>*** Changes in GDB 7.2</code>.
+
  
Numerous important packages within Fedora are pre-built with [https://fedoraproject.org/wiki/Features/SystemtapStaticProbes SystemTap static markers], and these can now be used as the target for breakpoints in gdb.
+
Using the `crtools` package, users can easily checkpoint and restore processes with the crtools package:
  
== OCaml ==
+
`crtools dump -D <dump-directory> -t <PID>`
Fedora 15 includes '''OCaml''' 3.12, a major new release of the OCaml language, the camlp4 macro language, libraries, and CDuce for XML processing.
+
  
New language features include:
+
`crtools restore -D <dump-directory -t <PID>`
* modules are now first-class values
+
* nested module open
+
* open record notation
+
* mark OO methods which must be overridden in subclasses
+
* limited support for delimited overloading in the language
+
  
camlp4 and camlp5 macro languages have been revised and extended. The changes are completely backwards compatible. For all details refer to https://fedoraproject.org/wiki/Features/OCaml3.12
+
To learn more about CRUI, visit http://criu.org and read `man 1 crtools`
  
 
== phyton ==
 
The '''Python''' 3 stack in Fedora 15 updates from 3.1 to 3.2 (the system Python 2 stack remains at 2.7). Python 3.2 is the latest release of the Python 3 language which comes with hundreds of fixes and tweaks throughout. For all details refer to https://fedoraproject.org/wiki/Features/Python_3.2.
 
 
 
== Rails ==
 
The '''Ruby''' on Rails gems in Fedora 15 updates from 2.3.8 to 3.0.3. Rails 3 is a large update to the Ruby on Rails web framework. It brings many new features such as a polished routing API, new activemailer and activerecord APIs, and many more new enhancements. Since its a major version update there are some API incompatibilities between Rails 3 and Rails 2.3.8. For the details refer to https://fedoraproject.org/wiki/Features/Rails_3.0.3.
 
 
 
[[Category:Docs Project]]
 
 
[[Category:Draft documentation]]
 
[[Category:Draft documentation]]
 
[[Category:Documentation beats]]
 
[[Category:Documentation beats]]

Revision as of 19:01, 15 April 2013

DocsProject Header docTeam1.png
Note.png
Beat is open
This beat is now ready to have Fedora 21 content added by the beat writer

Checkpoint and Restore Applications with CRUI

The CRIU (Checkpoint/Restore in User-space) projects offers a user-space implementation of process and process group checkpoint/restore. With the user-space tools crtools included in this release it is possible checkpoint processes and restore them at a later time again (e.g. after a crash) or migrate the checkpointed process or process group to another system. CRIU aims to be as transparent as possible so that no instrumentation or re-compilation of the process to be checkpointed is necessary.

Using the `crtools` package, users can easily checkpoint and restore processes with the crtools package:

`crtools dump -D <dump-directory> -t <PID>`

`crtools restore -D <dump-directory -t <PID>`

To learn more about CRUI, visit http://criu.org and read `man 1 crtools`