File: notes_history.html

package info (click to toggle)
erlang-doc-html 1%3A10.b.1a-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 22,488 kB
  • ctags: 9,933
  • sloc: erlang: 505; ansic: 323; perl: 61; sh: 45; makefile: 39
file content (484 lines) | stat: -rw-r--r-- 18,743 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<HTML>
<HEAD>
  <TITLE>Debugger Release Notes (Old)</TITLE>
  <style type="text/css">
<!--
    body          { background: white; margin: 3em }

    body          { font-family: Verdana, Arial, Helvetica, sans-serif }
    h1 h2 h3 h4   { font-family: Verdana, Arial, Helvetica, sans-serif }
    h1            { font-size: 48 }
    p li          { font-family: Verdana, Arial, Helvetica, sans-serif }
-->
  </style>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<CENTER><H1>Debugger Release Notes (Old)</H1></CENTER>


<!--- ################################################################# --->

<h2>Debugger 2.2</h2>


<!--- ----------------------------------------------------------------- --->

<h3>Fixed errors and malfunctions</h3>

<ul>

  <li>
    Using several 'and's and 'or's in guards could crash the debugger.<br>
    (Own Id: OTP-4630)<p>
  </li>

</ul>


<!--- ################################################################# --->

<h2>Debugger 2.1</h2>


<!--- ----------------------------------------------------------------- --->

<h3>Fixed errors and malfunctions</h3>

<ul>

  <li>
    The Debugger can now handle more than 50 processes without crashing.
    <br> Attach windows for dead processes will now disappear if
    Edit->Clear is selected. <br> All modules in a directory are now shown
    in the interpret dialog, but modules which are not compiled with the
    debug_info flag are shown in parenthesis. <br> A few other bugs related
    to error handling and popup windows are also fixed.<br>
    (Own Id: OTP-4495)<p>
  </li>

  <li>
    The Debugger handles funs somewhat better.
  </li>

</ul>

<!--- ################################################################# --->

<h2>Debugger 2.0</h2>


<!--- ----------------------------------------------------------------- --->

<h3>Fixed errors and malfunctions</h3>

<ul>

  <li>
    Parts of the code, mainly for the GUI, has been rewritten in order
    to make Debugger more robust and efficient. The functionality remains
    the same but behaviour and appearance have changed slightly. Modules
    must have been compiled with the option <CODE>debug_info</CODE> set
    in order to be interpreted, only modules for which this is true are
    shown in the Interpret window.
    (Own Id: OTP-4201)<br>
  </li>

  <li>
    The "Interpret Dialog" window no longer hangs if one tries to
    debug-compile a module residing in a sticky directory.<br>
    (Own Id: OTP-2665)<p>
  </li>

</ul>


<h2>Debugger 1.5.4</h2>

<h3>Fixed errors and malfunctions</h3>
<ul>
  <li>
    Debugger crashed when trying to save or load settings if the default
    directory <code>$HOME/.erlang_tools/debugger</code> had restricted
    access.<br>
    (Own Id: OTP-3244)<br>
    (Aux Id: seq3852 in supportsystem)<p>
  </li>

  <li>
    The debugger can now handle bit syntax construction in guards.<br>
    (Own Id: OTP-3741)<p>
  </li>
</ul>

<h3>Improvements and new features</h3>
<ul>
  <li>
    Code has been cleared up to get rid of compiler warnings.<br>
    (Own Id: OTP-3728)<p>
  </li>

  <li>
    The debugger now uses debugged information in beam files, instead of
    compiling the modules to be debugged. That implies modules to be
    debugged must be compiled beforehand and they must be compiled with
    <code>debug_info</code> option. Also, there is no need to set any
    include paths (because no compilation is done). The source code is
    still needed for display purposes. <br> <p>The record editor has been
    removed, as record names are no longer known by the debugger.<br>
    (Own Id: OTP-4151)<p>
  </li>
</ul>

<h3>Known problems</h3>
<ul>
  <li>
    The "Interpret Dialog" window hangs if one tries to debug-compile a
    module residing in a sticky directory.<br>
    (Own Id: OTP-2665)<p>
  </li>
  <li>
    Included source code is not shown in the "Attached Process" window.<br>
    (Own Id: OTP-3579)<p>
  </li>
</ul>


<H2>Debugger 1.5.3</H2>
<H3>Fixed errors and malfunctions</H3>

<UL>

<LI>
The debugger could not be run in embedded mode, because the
dbg_ets module was not listed in the app file.
<br>Own Id: OTP-3829<br>
Aux Id: Seq 5084


<LI>
In some cases, the debugger would in a call to undefined
function <CODE>erts_debug:apply/4</CODE>. This problem has been
corrected.
<br>Own Id: OTP-3845<br>
Aux Id: Seq 5094


</UL>

<H2>Debugger 1.5.2</H2>
  <H3>Known Problems</H3>
  <UL>
    <LI>The "Interpret Dialog" window hangs if one tries to debug-compile a module residing in a sticky directory.<BR>
      Own Id: OTP-2665
    </LI>
    <LI>Included source code is not shown in the "Attached Process" window.<BR>
       Own Id: OTP-3579
    </LI>
  </UL>

  <H3>Improvements and New Features</H3>
  <UL>
    <LI>The user is notified if the record editor cannot read a record definition, instead of it silently failing.<BR>
      Own Id: OTP-3437<BR>
      Aux Id: Seq 4285
    </LI>
  </UL>

<H2>Debugger 1.5.1</H2>
  <H3>Improvements and New Features</H3>
  <UL>
    <LI>The debugger was updated to handle the new fun datatype.<BR>
      Own Id: OTP-3370
    </LI>
  </UL>

<H2>Debugger 1.5</H2>
  <H3>Fixed Errors and Malfunctions</H3>
  <UL>
    <LI>The debugger has been updated to cope with the new fun implementation (introduced in R5), new EXIT codes, and BIFs in other modules than <CODE>erlang</CODE>.<BR>
      Own Id: OTP-3339
    </LI>
  </UL>

<H2>Debugger 1.3</H2>
  <H3>Fixed Errors and Malfunctions</H3>
  <UL>
    <LI>The Attachment window in the DEBUGGER is now faster. Once a module has been loaded in an Attachment window that module is cached. Ten modules are cached in one single Attachment window.<BR>
      Own Id: OTP-2641
    </LI>
    <LI>There are no longer any errors when using File-&gt;Load Settings distributed.<BR>
      Own Id: OTP-2706
    </LI>
    <LI>The debugger no longer crashes when another node goes down that has an active process.<BR>
      Own Id: OTP-2707, OTP-2887
    </LI>
    <LI><CODE>ets:match_object/2</CODE> is made faster by removing a <CODE>receive after 1</CODE> and letting the internal BIF db_match_object decide if the current process should be rescheduled.<BR>
      Own Id: OTP-2987<BR>
      Aux Id: Seq 1500
    </LI>
  </UL>

  <H3>Improvements and New Features</H3>
  <UL>
    <LI>The label is now resizeable in width.<BR>
      Own Id: OTP-1995
    </LI>
    <LI>A window for re-binding records and variables in a more easier way is available in the Attachment window. By double clicking on a variable in the Bindings Frame the Record Editor window will pop up where one can update the chosen variable.<BR>
      Own Id: OTP-2194, OTP-2180
    </LI>
    <LI>It's now possible to use text search and go-to-line in View and Attachment windows.<BR>
      Own Id: OTP-2542
    </LI>
    <LI>It's now possible to use text search in the View and Attachment windows.<BR>
      Own Id: OTP-2704
    </LI>
    <LI>OTP-2180, OTP-2194<BR>
      Own Id: OTP-2792
    </LI>
    <LI>The Load and Save Settings now also includes the options - Include Directories and Macro Definitions from the Interpret Dialog.<BR>
      Own Id: OTP-2964<BR>
      Aux Id: Seq 1453
    </LI>
  </UL>

<H2>Debugger 1.2.1</H2>
  <H3>Improvements and New Features</H3>
  <UL>
  <LI>When closing the debugger all processes are killed.<BR>
    Own Id: OTP-2066
  </LI>
  <LI>When a debugged process exits with an abnormal 'EXIT' reason its Attachment window is raised.<BR>
    Own Id: OTP-2198
  </LI>
  <LI>It's now possible to set normal break points without using the Normal Break dialog. When clicking on a row in a View or an Attachment window, the row is marked with the selection option. Double click and the break point is set.<br>A break point is removed by a double click on that line.<BR>
    Own Id: OTP-2545<BR>
    Aux Id: OTP-2208, OTP-2267, OTP-2268
  </LI>
  </UL>

<H2>Debugger 1.2</H2>
  <H3>Fixed Errors and Malfunctions</H3>
  <UL>
    <LI>Previously there was an Interpret menu item in the Attach Window, although this function was not implemented. The confusing menu item has now been removed.<BR>
    Own Id: OTP-2104
    </LI>
    <LI>Problems with selecting and double-clicking processes in monitor window has been fixed.<BR>
      Own Id: OTP-2161
    </LI>
    <LI>Some BIF's terminated with the wrong EXIT reason. This has been fixed.<BR>
      Own Id: OTP-2163
    </LI>
    <LI>The cursor busy mark in the Interpret Module dialog has been corrected.<BR>
      Own Id: OTP-2170
    </LI>
    <LI>Sometimes 'Clear' would crash the debugger, this has been fixed.<BR>
      Own Id: OTP-2174
    </LI>
    <LI>Module/Line information was mixed up the Up/Down buttons in the Attach window were used. This has been fixed.<BR>
      Own Id: OTP-2239
    </LI>
    <LI>An intermittent problem with doubleclicking on a process in the monitor window has been fixed.<BR>
      Own Id: OTP-2246
    </LI>
    <LI>Variable values are now often shortened. Click them to have their complete values displayed in the Evaluator Frame.<BR>
      Own Id: OTP-2290
    </LI>
    <LI>'Kill' and 'Kill All' now performs exit(Pid,kill) for the selected process, so that are guaranteed to terminate.<BR>
      Own Id: OTP-2320
    </LI>
    <LI>Problems with stack Up and Down in Attach window resulting in {badmatch,'my style? ...} error messages have been fixed.<BR>
      Own Id: OTP-2322
    </LI>
    <LI>Problems with Process-&gt;Kill in Monitor window have been fixed.<BR>
      Own Id: OTP-2343
    </LI>
    <LI>The Module menu of the Attach window is now updated when modules are interpreted/uninterpreted.<BR>
      Own Id: OTP-2458
    </LI>
    <LI>Re-entry into re-interpreted code now updates attach window.<BR>
      Own Id: OTP-2477
    </LI>
    <LI>A cosmetic problem with printouts in the Evaluator frame after process exits has been fixed.<BR>
      Own Id: OTP-2528
    </LI>
  </UL>

  <H3>Improvements and New Features</H3>
  <UL>
    <LI>Easier to set break points. Window menu for quick access to all debugger windows. Fixed problems with interpreter dialog. Several sets of debugger states can now be saved. Easier clearing of dead processes. Exit of Monitor window now closes all windows and quits all debugging.<BR>
      Changed the way variable values are showed in the bindings panel. Several other minor usability improvements.<BR>
      The old interpreter is no longer delivered as a supported application. To use it one needs to add it's load path to the code server. The modules, i and int are still available, but where they now start the DEBUGGER GUI when any GUI response is required.<BR>
      Own Id: OTP-1611
    </LI>
    <LI>A new function, debugger:start/0, is now available for starting the graphical debugger.<BR>
      Own Id: OTP-2052
    </LI>
    <LI>After the user has interpreted a module in the Interpret Module dialog the module is no longer removed, instead it's marked with a '*' in front of the module name. Previous interpreted modules are also marked with a '*'. The focus of the list is set to the last interpreted module.<BR>
      Own Id: OTP-2095, OTP-2212, OTP-2318, OTP-2344
    </LI>
    <LI>All interpreter modules are now replicated (but renamed and changed) in the debugger.<BR>
      Own Id: OTP-2114<BR>
      Aux Id: OTP-2113
    </LI>
    <LI>It is now possible to quickly interpret and start a process in an Attachment window. With the <CODE>debugger:quick(Module, Function, [Arg1, Arg2, ...])</CODE> a module is attched on init. <CODE>debugger:q/3</CODE> has the same funtionality.<BR>
      Own Id: OTP-2175
    </LI>
    <LI>The Auto Load option in the Monitor window has been removed and is replaced with a Load and Save Settings dialog.<BR>
        It is now possible to save and load different settings, found under the File menu. The setting files ends with ".state" and are placed as default at ".erlang_tools/debugger/" in the user's home directory.<BR>
      Own Id: OTP-2177
    </LI>
    <LI>A windows manager for the debugger has been created. In the Windows menu the Monitor window and all the opened View and Attachment windows are listed. A window is raised on top when it is selected in the list of windows.<BR>
      It is not possible to open duplicate Monitor, View and Attachment windows.<BR>
      Own Id: OTP-2178
    </LI>
    <LI>Processes can now have their interpreted code uninterpreted without having to be terminated. They are only terminated if it is necessary, i.e. if the code is in use.<BR>
      Own Id: OTP-2181<BR>
      Aux Id: OTP-2179
    </LI>
    <LI>Internal changes to facilitate automatic tests.<BR>
      Own Id: OTP-2190<BR>
      Aux Id: OTP-2188
    </LI>
    <LI>When choosing Edit-&gt;Clear the attach windows of exited processes are closed.<BR>
      Own Id: OTP-2195
    </LI>
    <LI>All interpreter/debugger settings are cleared when the monitor window is closed.<BR>
      Own Id: OTP-2197
    </LI>
    <LI>When exiting the Monitor window the user is asked to save the current settings before he or she exits.<BR>
      Own Id: OTP-2204
    </LI>
    <LI>Documentation for conditional break points has been improved.<BR>
      Own Id: OTP-2210
    </LI>
  </UL>

<H2>Source Debugger 1.1.0</H2>
  <H3>Improvements and New Features</H3>
  <UL>
    <LI>The DEBUGGER is now the default debugger, to use the old debugger (the INTERPRETER), start <CODE>erl</CODE> with the option <CODE>-old_debugger</CODE>.
    </LI>
    <LI> 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.
    </LI>
    <LI>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.<BR>
      Own Id: OTP-1250
    </LI>
  </UL>

  <H3>Fixed Errors and Malfunctions</H3>
  <UL>
    <LI>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.<BR>
      Own Id: OTP-1815
    </LI>
    <LI>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.<BR>
      Own Id: OTP-1964
    </LI>
    <LI>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 &#34;Interpret&#34; window. The file will not me shown in the list of loaded modules in the monitor window.<BR>
      Own Id: OTP-1963, OTP-2021
    </LI>
    <LI>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.<BR>
      Own Id: OTP-1357, OTP-2096
    </LI>
    <LI>Loading source code into the attach-window is now faster.<BR>
      Own Id: OTP-2015
    </LI>
    <LI>Modules can be viewed in the monitor window during distribution.<BR>
      Own Id: OTP-2070
    </LI>
    <LI>It is now possible to set normal break points in a distributed mode.<BR>
      Own Id: OTP-2072
    </LI>
    <LI>Debugger no longer crashes due to font problems on Windows NT.<BR>
      Own Id: OTP-1610<BR>
    </LI>
  </UL>

  <H3>Incompatibilities with Debugger 1.0.3</H3>
  <UL>
    <LI>The buttons 'Time Out', 'Skip', 'Stop' and 'Messages' are removed, but they still exists in the pull-down menu.
    </LI>
    <LI>The menu item Module-&#62;Interpret in Attach windows has never had any functionality, so it was removed.<BR>
      Own Id: OTP-2104<BR>
    </LI>
  </UL>

  <H3>Known Problems</H3>
  <UL>
    <LI>New code isn't loaded when compiled.<BR>
      Own Id: OTP-2091
    </LI>
  </UL>

<H2>Source Debugger 1.0.3</H2>
  <H3>Improvements and New Features</H3>
  <P>This debugger is the only option on the Windows platform. To use this new debugger instead of the old <STRONG>interpreter</STRONG> on Unix you start erlang with the command line option <CODE>-new_debugger</CODE>.</P>

  <H3>Fixed Errors and Malfunctions</H3>
  <UL>
    <LI>The debugger is now an Erlang application, i.e. it has an application file.<BR>
      Own Id: OTP-1638, OTP-1689
      Aux Id: HA57713
    </LI>
    <LI>Speeded up stepping of functions with variables containing large amount of data.<BR>
      Own Id: OTP-1566
    </LI>
    <LI>You can now set break points below line 999.<BR>
      Own Id: OTP-1290
    </LI>
  </UL>

  <H3>Known Problems</H3>
  <UL>
    <LI>The debugger doesn't handle macros definitions given from the command line.<BR>
      Own Id: OTP-1964
    </LI>
    <LI>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.<BR>
      Own Id: OTP-1963
    </LI>
    <LI>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 <CODE>foo</CODE> that contains the include directive <CODE>-include(&#34;bar.hrl&#34;).</CODE> in the directory &#34;/my/include/dir&#34; you can do one of:
      <PRE>
1&#62; ii(foo,[{i,&#34;/my/include/dir&#34;}]).
2&#62; int:i(foo,[{i,&#34;/my/include/dir&#34;}]).
      </PRE>
      You can define a macro as well:
      <PRE>
3&#62; ii(foo,[{d,bar,42}]).
      </PRE>
      Own Id: OTP-1815
    </LI>
    <LI>Text is to big to fit on the buttons on Windows NT.<BR>
      Own Id: OTP-1357
    </LI>
  </UL>

<H2>Source Debugger 1.0.2 (in OTP R1B)</H2>
  <H3>Improvements and New Features</H3>
  <UL>
    <LI>Standard help now used in the monitor window, as well as in the trace window.
    </LI>
    <LI>Keyboard accelerators introduced for all menus.<BR>
    </LI>
  </UL>

<H2>Source Debugger 1.0.1</H2>
  <H3>Improvements and New Features</H3>
  <UL>
    <LI>A. It is now possible to set stack options for individual processes, instead of a global value for all.
    </LI>
    <LI>B. It is now possible to set a default back trace value either global for all new attached processes, or locally, for already attached processes, and view the back trace functions in the trace frame.
    </LI>
  </UL>

  <H3>Fixed Errors and Malfunctions</H3>
  <UL>
    <LI>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.
    </LI>
  </UL>

<H2>Source Debugger 1.0</H2>
<P> 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 <STRONG>Interpreter</STRONG>. See the <STRONG>Source Debugger User's Guide</STRONG>.</P>

</BODY>
</HTML>