aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/doc/src/notes.xml
blob: 66638a59f6d141ff5abf0cf4ea9776ac3f562e91 (plain) (blame)
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
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
<?xml version="1.0" encoding="latin1" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>2004</year><year>2012</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      The contents of this file are subject to the Erlang Public License,
      Version 1.1, (the "License"); you may not use this file except in
      compliance with the License. You should have received a copy of the
      Erlang Public License along with this software. If not, it can be
      retrieved online at http://www.erlang.org/.

      Software distributed under the License is distributed on an "AS IS"
      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
      the License for the specific language governing rights and limitations
      under the License.

    </legalnotice>

    <title>Debugger Release Notes</title>
    <prepared>otp_appnotes</prepared>
    <docno>nil</docno>
    <date>nil</date>
    <rev>nil</rev>
    <file>notes.xml</file>
  </header>
  
  <p>This document describes the changes made to the Debugger
    application.</p>

<section><title>Debugger 3.2.8</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed disappearing breakpoints bug, reported by Ricardo
	    Catalinas Jim�nez.</p>
          <p>
	    Own Id: OTP-9950</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.2.7</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix "OK" spelling in debugger messages and variables</p>
          <p>
	    Simple code refactor in the debugger: renames all the
	    occurrences of "Ok" to "OK" in the code, variable names
	    and strings. This improves the consistency of the code
	    and follows the GTK UI where "OK" is always used.(Thanks
	    to Ricardo Catalinas Jim�nez)</p>
          <p>
	    Own Id: OTP-9699</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
	    <p>Variables are now now allowed in '<c>fun M:F/A</c>' as
	    suggested by Richard O'Keefe in EEP-23.</p>
	    <p>The representation of '<c>fun M:F/A</c>' in the
	    abstract format has been changed in an incompatible way.
	    Tools that directly read or manipulate the abstract
	    format (such as parse transforms) may need to be updated.
	    The compiler can handle both the new and the old format
	    (i.e. extracting the abstract format from a pre-R15 BEAM
	    file and compiling it using compile:forms/1,2 will work).
	    The <c>syntax_tools</c> application can also handle both
	    formats.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-9643</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.2.6</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Fix issues reported by dialyzer.</p>
          <p>
	    Own Id: OTP-9107</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.2.5</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
	    <p>Miscellaneous updates</p>
          <p>
	    Own Id: OTP-8976</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.2.4</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Type specs have been added/cleaned up. (Thanks to Kostis
	    Sagonas.)</p>
          <p>
	    Own Id: OTP-8757</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.2.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Warnings due to new autoimported BIFs removed</p>
          <p>
	    Own Id: OTP-8674 Aux Id: OTP-8579 </p>
        </item>
        <item>
          <p>
	    The predefined builtin type tid() has been removed.
	    Instead, ets:tid() should be used.</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-8687</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.2.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            Bugs have been fixed in the evaluation of comprehensions
            and short-circuit expressions in guards.</p>
          <p>
	    Own Id: OTP-8310</p>
        </item>
      </list>
    </section>

    <section><title>Improvements and New Features</title>
      <list>
	<item>
          <p>
	    Miscellaneous corrections of the WX version of the
	    debugger.</p>
          <p>
	    Own Id: OTP-8346</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.2.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The documentation is now built with open source tools
	    (xsltproc and fop) that exists on most platforms. One
	    visible change is that the frames are removed.</p>
          <p>
	    Own Id: OTP-8201</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Added a new gui, start with debugger:start(gs) for old
	    gui.</p>
          <p>
	    Own Id: OTP-7366</p>
        </item>
        <item>
          <p>
	    The undocumented, unsupported, and deprecated guard BIF
	    <c>is_constant/1</c> has been removed.</p>
          <p>
	    *** INCOMPATIBILITY with R12B ***</p>
          <p>
	    Own Id: OTP-7673</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.1.1.4</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    There is now experimental support for loading of code
	    from archive files. See the documentation of <c>code</c>,
	    <c>init</c>, <c>erl_prim_loader </c> and <c>escript</c>
	    for more info.</p>
          <p>
	    The error handling of <c>escripts</c> has been improved.</p>
          <p>
	    An <c>escript</c> may now set explicit arguments to the
	    emulator, such as <c>-smp enabled</c>.</p>
          <p>
	    An <c>escript</c> may now contain a precompiled beam
	    file.</p>
          <p>
	    An <c>escript</c> may now contain an archive file
	    containing one or more applications (experimental).</p>
          <p>
	    The internal module <c>code_aux</c> has been removed.</p>
          <p>
	    Own Id: OTP-7548 Aux Id: otp-6622 </p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.1.1.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Minor changes.</p>
          <p>
	    Own Id: OTP-7388</p>
        </item>
      </list>
    </section>

</section>

<section><title>Debugger 3.1.1.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
	    <p>The documentation has been updated so as to reflect
	    the last updates of the Erlang shell as well as the minor
	    modifications of the control sequence <c>p</c> of the
	    <c>io_lib</c> module.</p> <p>Superfluous empty lines have
	    been removed from code examples and from Erlang shell
	    examples.</p>
          <p>
	    Own Id: OTP-6944 Aux Id: OTP-6554, OTP-6911 </p>
        </item>
      </list>
    </section>

</section>

  <section><title>Debugger 3.1.1.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Minor Makefile changes.</p>
          <p>
	    Own Id: OTP-6689</p>
        </item>
        <item>
          <p>
	    Obsolete guard tests (such as list()) have been replaced
	    with the modern guard tests (such as is_list()).</p>
          <p>
	    Own Id: OTP-6725</p>
        </item>
      </list>
    </section>
  </section>

  <section><title>Debugger 3.1.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            Removed some dead code from <c>dbg_ieval</c>.</p>
          <p>
            Own Id: OTP-6552</p>
        </item>
      </list>
    </section>
  </section>

  <section><title>Debugger 3.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            The interpreter could not handle the case where an
            expression that should evaluate to a fun referred to
            uninterpreted code.</p>
          <p>
            Own Id: OTP-6061 Aux Id: seq10295</p>
        </item>
	<item>
	  <p>
	    Timeout for <c>gen_server</c> calls within Debugger is
	    now set to <c>infinity</c>.</p>
	  <p>
	    Own Id: OTP-6103</p>
	</item>
      </list>
    </section>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            Notification windows are now centered over a parent
            window.</p>
          <p>
            Own Id: OTP-6011 Aux Id: OTP-5987</p>
        </item>
        <item>
          <p>
            When interpreting a module, it is now checked that the
            module does not belong to the Kernel, STDLIB, GS or
            Debugger application, as interpreting a module used by
            the debugger/interpreter itself will lead to a deadlock
            or emulator crash.</p>
          <p>
            Also <c>int:interpretable(Mod)</c> has been extended to
            return <c>{error,{app,App}}</c> if <c>Mod</c> belongs to
            one of the above applications.</p>
          <p>
            Own Id: OTP-6020</p>
        </item>
        <item>
          <p>
            <c>andalso</c>/<c>orelse</c> is now supported.</p>
          <p>
            Own Id: OTP-6021 Aux Id: OTP-5894</p>
        </item>
      </list>
    </section>
  </section>

  <section><title>Debugger 3.0.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            When evaluating a guard expression for a fun function
            clause, the environment variable bindings were not taken
            into account.</p>
          <p>
            Own Id: OTP-5837</p>
        </item>
      </list>
    </section>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>A number of smaller improvements to the GUI:</p>
	  <list>
	    <item>Multiple choices now possible in Function Break
	      Dialog Window.</item>
	    <item>Right-clicking the Module entry in a Break Dialog
	      Window will open a popup menu from which the appropriate
	      (interpreted) module can be selected.</item>
	    <item>Auto Attach options can now be changed using
	      the buttons in the left part of the Monitor Window, not
	      only by the corresponding menu buttons.</item>
	    <item>Buttons for enabling and disabling all breakpoints
	      have been added.</item>
	    <item>View Module Window keyboard shortcuts corrected.
	    </item>
	  </list>
            Own Id: OTP-4284
        </item>
      </list>
    </section>
  </section>

  <section><title>Debugger 3.0</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            Debugger can now handle <c>try-catch</c>. This meant
            large parts of the interpreter had to be rewritten. Also,
            some small changes to the GUI have been made.</p>
          <p>
            Own Id: OTP-5730</p>
        </item>
      </list>
    </section>
  </section>

  <section><title>Debugger 2.3.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
            <p>It is now possible to encrypt the debug information in
            Beam files, to help keep the source code secret. See the
            documentation for compile on how to provide the key for
            encrypting, and the documentation for beam_lib on how to
            provide the key for decryption so that tools such as the
            Debugger, Xref, or Cover can be used.</p>
            <p>The <c>beam_lib:chunks/2</c> functions now accepts an
            additional chunk type '<c>compile_info</c>' to retrieve
            the compilation information directly as a term. (Thanks
            to Tobias Lindahl.)</p>
          <p>
            Own Id: OTP-5460 Aux Id: seq9787</p>
        </item>
      </list>
    </section>
  </section>

  <section><title>Debugger 2.3.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            The graphic applications now search for HTML
            documentation in the correct place.</p>
          <p>
            Own Id: OTP-5381</p>
        </item>
      </list>
    </section>
  </section>

  <section><title>Debugger 2.3.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Package support has been added to the debugger. Thanks to
	    Richard Carlsson in the HiPE project.</p>
          <p>
	    Own Id: OTP-5255</p>
        </item>
      </list>
    </section>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Updated to handle the latest version of the compiler.</p>
          <p>
	    Own Id: OTP-5265</p>
        </item>
      </list>
    </section>
  </section>
</chapter>