From Fedora Project Wiki

No edit summary
No edit summary
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{header|docs}}
{{header|docs}}
{{Docs_beat_open}}
{{Docs_beat_closed}}
= Development Tools =
[[Category:Docs Project]]
This section describes the enhancement in development tools available in Fedora 15. 
 
== gdb ==
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:
* 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.


== OCaml ==
= Checkpoint and Restore Applications with CRUI =
Fedora 15 includes '''OCaml''' 3.12, a major new release of the OCaml language, the camlp4 macro language, libraries, and CDuce for XML processing.
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.


New language features include:
Using the `crtools` package, users can easily checkpoint and restore processes with the crtools package:
* 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 view https://fedoraproject.org/wiki/Features/OCaml3.12
`crtools dump -D <dump-directory> -t <PID>`


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


== phyton ==
To learn more about CRUI, visit http://criu.org and read `man 1 crtools`
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 view 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 view 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 05:54, 8 May 2013

DocsProject Header docTeam1.png
Warning.png
Beat Closed on Wiki
Work on beats has now moved to git at https://pagure.io/fedora-docs/release-notes. If you have changes or additions, please contact the docs team via #fedora-docs, docs@lists.fedoraproject.org, or with the release-notes BZ component.

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