# Pman Release Notes

## Pman 2.4.1

### Improvements and new features

- `cover_server` (process belonging to the new tool Cover) has been added to the list of processes defined as system processes.
  Own Id: OTP-4008

- The function defining the default settings file has been moved from GS to `pman_osdepend.erl`.
  Own Id: OTP-4022
  Aux Id: OTP-4021
- Calls to `gtk_name` has been changed to `gstk_name`, see GS Release Notes.
  Own Id: OTP-4065

## Pman 2.4

### Fixed Errors and Malfunctions

- Pman can now handle tracing of function calls again. (Was broken when the new trace BIF was introduced in R6).
  Own Id: OTP-3565

### Improvements and new features

- Code somewhat cleaned up.
  Own Id: OTP-3338

## Pman 2.3

### Improvements and New Features

- The 'Trace BIF' option has had to be removed due to changes to the builtin BIF tracing functionality.

## Pman 2.2

There are no release notes for this release.

## Pman 2.1.4

There are no release notes for this release.

## Pman 2.1.3

### Fixed Errors and Malfunctions

- PMAN now handles when a node becomes distributed/undistributed using the functions net_kernel:start/1 and net_kernel:stop/0.
  Own Id: OTP-2002
- Sometimes an attempt to kill a process would kill an important system process and cause the entire system to crash. This has been fixed.
  Own Id: OTP-2342
- Sometimes PMAN would crash during refresh when the code for one of the supervised processes was recompiled. This has been fixed.
  Own Id: OTP-2579

### Improvements and New Features

- The Notify window when a node is connected has been removed.
  Own Id: OTP-2003

## Pman 2.1.2

### Improvements and New Features

- Internal changes to facilitate automatic tests.
  Own Id: OTP-2188

## Pman 2.1.1

### Improvements and New Features

- PMAN no longer bothers the user to confirm that there is no Options file at startup.
  Own Id: OTP-1987
- The dialog for selecting process to show, now shows more detailed information about the available processes.
  Own Id: OTP-1989
- The accidentally removed function for double-clicking a process to trace it has been re-introduced.
  Own Id: OTP-1993
- Some minor changes to window/dialog/button texts have been made.
  Own Id: OTP-1994, OTP-1998
- Processes in the main window are now sorted so that the most recently started process appears at the top of the list. This was temporarily changed in PMAN 2.1.0.
  Own Id: OTP-1999

### Fixed Errors and Malfunctions

- App file now contains all necessary (and no non-existent) modules.
  Own Id: OTP-2051
- PMAN no longer outputs internal "Error in refresh..." messages.
  Own Id: OTP-1971
- PMAN no longer exits if the user waits too long to respond to a configrmation dialog.
  Own Id: OTP-1988
- The Option dialog could sometimes cause PMAN to crash. This no longer happens.
  Own Id: OTP-2000
- The infrequently occuring problem with refresh at startup is solved.
  Own Id: OTP-1992
- There was a problem with the Save Buffer dialog, that caused some menu items to be mistakenly disabled. This is fixed.
  Own Id: OTP-2100
- The selected process in the main window now remains selected after refresh.
  Own Id: OTP-2110

### Incompatibilities with Pman 2.1.0

There are no known incompatibilities with PMAN 2.1.0.

There was a change to the module interface between PMAN 2.0.3 and PMAN 2.1.0, however this was not well described in the previous release notes. The changes are described in more detail below.

- The module interface to `pman` has changed.
  `pman:start/0` and `pman:start/1` now return the Pid of PMANs main window process if the start-up succeeds within 20 seconds, otherwise it will fail with the EXIT reason `{startup_timeout, pman}`. The returned Pid is the Pid of the PMAN that was started. Previously `pman:start/0` and `pman:start/1` returned a tuple, `{ok, Pid}` immediately, even if PMAN didn't start properly.
  There are two new functions, `pman:start_notimeout/0`, and pman:start_notimeout/1, that starts PMAN and returns the Pid of a successfully started PMAN. These functions will not fail with an EXIT reason after a specified time, but will wait indefinitely until PMAN has started successfully.
  (*** POTENTIAL INCOMPATIBILITY ***)

### Known Problems

- There are some minor problems with the show/hide mechanisms that may be confusing to the user.
  Own Id:OTP-1858, OTP-1859.
- PMAN does not handle when the node it is running on becomes distributed.
  Own Id: OTP-2003
- PMAN allows several trace windows to be opened for the same PID when all trace options are set to false.
  Own Id: OTP-2071

## Pman 2.1.0

### Improvements and New Features

- The graphical user interface is changed to make it clearer and easier to use. Please read the User's Guide.
  Own Id: OTP-1617
- The user can now save personal preferences for trace options between sessions.
  Own Id: OTP-1617

### Fixed Errors and Malfunctions

- PMAN no longer causes the GS frontend to crash.
  Own Id: OTP-1605
- The Shell tracer no longer loses track of the shell process when it dies.
  Own Id: OTP-1363
- PMAN is now available from the Toolbar
  Own Id: OTP-1478
- The Process->Module menu item no longer fails after a Shell exit.
  Own Id: OTP-1479
- The Shell traces now has the correct title at all times.
  Own Id: OTP-1480
- PMAN no longer crashes, or causes GS to crash.
  Own Id: OTP-1605
- PMAN now has an application file
  Own Id: OTP-1689
- PMAN no longer crashes when the code for traced processes on a remote note are recompiled.
  Own Id: OTP-1896
- PMAN no causes traced processes to terminate when something happens to PMAN.
  Own Id: OTP-1897
- Some user interface bugs have been fixed.

### Incompatibilities with Pman 2.0.3

- The graphical user interface is changed
  Own Id: OTP-1617
- The module interface to `pman` has changed. Please read the Reference Manual.

### Known Problems

- There are some minor problems with the show/hide mechanisms that may be confusing to the user.
  Own Id:OTP-1858, OTP-1859.
- Sometimes the Refresh mechanism fails, and outputs some debug text.
  Own Id: OTP-1971

## Pman 2.0.3

### Improvements and New Features

- The shell tracer can now detect when the shell process has died, and continue tracing the new shell process.
- The Help-menu now opens the on-line documentation in a web browser.
- Keyboard accelerators introduced for the menus.

### Known Problems

- The Process->Module menu item in the Shell Tracer window partly breaks the application when it is selected after the shell has exited, and restarted (and the tracer has found the new process).

## Pman 2.0.2

### Fixed Errors and Malfunctions

- Bug in the windows NT version which gave problems when saving files fixed.
- Bug in the help window when opened from the shell fixed.

## Pman 2.0.1

There are no release notes for this release.

## Pman 2.0

The application pman is a new gs-based version of the old pxw-based pman (the latter is now named pxw_pman). See the reference manual page pman.