5 DEBUGGER Release Notes
These release notes are for the
debugger
application.5.1 Source Debugger 1.1.0
5.1.1 Improvements and new features
- The DEBUGGER is now the default debugger, to use the old debugger (the INTERPRETER), start
erl
with the option-old_debugger
.
- A new button, 'Break', has been added to the button row. The button 'Break' has the same functionality as 'Normal Break' in the 'Breaks'-menu.
- When loading a large file into the 'View'- and 'Attach' windows a pop-up window is shown instead of nothing at all. The cursor is set to a busy clock.
Own Id: OTP-1250
5.1.2 Fixed Bugs and Malfunctions
- It is now possible to add include paths, using the graphical interface. The user may decide whether the macros shall be valid in the current directory only, or in all directories from that moment.
Own Id: OTP-1815
- It is now possible to, in the graphical user interface, define macros. The user may decide whether the macros shall be valid in the current directory only, or in all directories from that moment.
Own Id: OTP-1964
- Files impossible to compile are now reported via a pop-up window, and the file will still be visible in the file listing in the "Interpret" window. The file will not me shown in the list of loaded modules in the monitor window.
Own Id: OTP-1963, OTP-2021
- The font of the text labels in the buttons is set to {helvetica, 12}, that looks better in the default sized window for WinNT/Unix.
Own Id: OTP-1357, OTP-2096
- Loading source code into the attach-window is now faster.
Own Id: OTP-2015
- Modules can be viewed in the monitor window during distribution.
Own Id: OTP-2070
- It is now possible to set normal break points in a distributed mode.
Own Id: OTP-2072
- Debugger no longer crashes due to font problems on Windows NT.
Own Id: OTP-1610
5.1.3 Incompatibilities with Debugger 1.0.3
- The buttons 'Time Out', 'Skip', 'Stop' and 'Messages' are removed, but they still exists in the pull-down menu.
- The menu item Module->Interpret in Attach windows has never had any functionality, so it was removed.
Own Id: OTP-2104
5.1.4 Known bugs and problems
- New code isn't loaded when compiled.
Own Id: OTP-2091
5.2 Source Debugger 1.0.3
5.2.1 Improvements and new features
This debugger is the only option on the Windows platform. To use this new debugger instead of the old interpreter on Unix you start erlang with the command line option
-new_debugger
.5.2.2 Fixed Bugs and Malfunctions
- The debugger is now an Erlang application, i.e. it has an application file.
Own Id: OTP-1638, OTP-1689
Aux Id: HA57713
- Speeded up stepping of functions with variables containing large amount of data.
Own Id: OTP-1566
- You can now set break points below line 999.
Own Id: OTP-1290
5.2.3 Incompatibilities with Debugger 1.0.2
5.2.4 Known bugs and problems
- The debugger doesn't handle macros definitions given from the command line.
Own Id: OTP-1964
- An error loading a file for interpretation will not be reported clear enough and the file will be inserted into the list of loaded modules in the monitor window.
Own Id: OTP-1963
- You can't give an search path in the graphical interface where to look for include files. As a work around you can define the file/module to debug/interpret from the Erlang shell and give the search path as an option. To debug/interpret the module
foo
that contains the include directive-include("bar.hrl").
in the directory "/my/include/dir" you can do one of
1> ii(foo,[{i,"/my/include/dir"}]). 2> int:i(foo,[{i,"/my/include/dir"}]).Own Id: OTP-1815
You can define a macro as well
3> ii(foo,[{d,bar,42}]).- Text is to big to fit on the buttons on Windows NT.
Own Id: OTP-1357
5.3 Source Debugger 1.0.2 (in OTP R1B)
5.3.1 Improvements and new features
- Standard help now used in the monitor window, as well as in the trace window.
- Keyboard accelerators introduced for all menus.
5.3.2 Fixed Bugs and Malfunctions
5.3.3 Incompatibilities with Debugger 1.0.1
5.3.4 Known bugs and problems
5.4 Source Debugger 1.0.1
5.4.1 Improvements and new features
- A.It is now possible to set stack options for individual processes, instead of a global value for all.
- B. It is now possible to set a default back trace value either global for all new attached processes, or localy, for already attached processes, and view the back trace functions in the trace frame.
- Bug Fixes: Fixed problems caused by break points on auto attach whenever there where more than 1000 lines of code in the module. Fixed bug caused by auto attach when distributed.
5.4.2 Fixed Bugs and Malfunctions
5.4.3 Incompatibilities with Debugger 1.0
5.4.4 Known bugs and problems
5.5 Source Debugger 1.0
The Source Debugger is a new graphical application based on GS. It is actually a new graphical front end to the old source debugger, the Interpreter. See the Source Debugger User's Guide.