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 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<?xml-stylesheet href="../../nbbuild/javadoctools/apichanges.xsl" type="text/xsl"?>
<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.0//EN" "../../nbbuild/javadoctools/apichanges.dtd">
<!-- INFO FOR PEOPLE ADDING CHANGES:
[most of contents snipped - see openide's apichanges for how-to instructions]
<change>
<api name="compiler"/>
<summary>Some brief description here, can use <b>XHTML</b></summary>
<version major="1" minor="99"/>
<date day="13" month="6" year="2001"/>
<author login="jrhacker"/>
<compatibility addition="yes"/>
<description>
The main description of the change here.
Again can use full <b>XHTML</b> as needed.
</description>
<class package="org.openide.compiler" name="DoWhatIWantCompiler"/>
<issue number="14309"/>
</change>
-->
<apichanges>
<!-- First, a list of API names you may use: -->
<apidefs>
<apidef name="JPDADebuggerAPI">Debugger JPDA API</apidef>
</apidefs>
<!-- ACTUAL CHANGES BEGIN HERE: -->
<changes>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Randomly select listening port</summary>
<version major="3" minor="12"/>
<date day="15" month="6" year="2019"/>
<author login="jtulach"/>
<compatibility addition="yes"/>
<description>
Enhanced behavior of
<a href="@TOP@/org/netbeans/api/debugger/jpda/ListeningDICookie.html">ListeningDICookie.create(-1)</a>
method.
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>JPDADebugger.getException() method added.</summary>
<date day="20" month="4" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes"/>
<description>
JPDADebugger.getException() method added to. This is support for notifications about
problems during start of debugger.
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Support for synchronouous start of JPDADebugger added.</summary>
<date day="3" month="5" year="2004"/>
<author login="jjancura"/>
<compatibility modification="yes"/>
<description>
<p>
Methods starting debugger has been modified to support synchronous start of debugging.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Breakpoint Listener added.</summary>
<date day="4" month="5" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes"/>
<description>
<p>
JPDABreakpointEvent and JPDABreakpointListener classes added.
JPDABreakpoint.addJPDABreakpointListener (...) and JPDABreakpoint.removeJPDABreakpointListener (...)
methods added.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Support methods for various new features added.</summary>
<date day="9" month="5" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes"/>
<description>
<p>
Support for Fix Action improved. Support for Pop Frame action added. Support for static and
inherited fields added. New methods:
</p>
<ul>
<li>CallStackFrame.isObsolete ()</li>
<li>CallStackFrame.popFrame ()</li>
<li>JPDADebugger.canFixClasses ()</li>
<li>JPDADebugger.fixClasses(java.util.Map)</li>
<li>ObjectVariable.getAllStaticFields(int,int)</li>
<li>ObjectVariable.getInheritedFields(int,int)</li>
</ul>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Definition of various breakpoints has been generalized.</summary>
<date day="10" month="5" year="2004"/>
<author login="jjancura"/>
<compatibility modification="yes" source="incompatible" binary="incompatible"/>
<description>
<p>
We have changed ClassLoadUnloadBreakpoint to support class exclusion filters, and
more than one class filter. The same change was done for MethodBreakpoints too.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>JPDABreakpointEvent improvements.</summary>
<date day="11" month="5" year="2004"/>
<author login="jjancura"/>
<compatibility modification="yes" source="incompatible" binary="incompatible"/>
<description>
<p>
We have added several new properties to JPDABreakpointEvent:
</p>
<ul>
<li>ReferenceType</li>
<li>resume</li>
<li>Thread</li>
<li>Variable</li>
</ul>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Improvements of SmartStepping implementation.</summary>
<date day="16" month="5" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes"/>
<description>
<p>
We have added several new methods to fix issues in smart stepping implementation:
</p>
<ul>
<li>PropertyChangeListener added to SmartSteppingFilter.</li>
<li>JPDADebugger.getSmartSteppingFilter ()</li>
<li>SmartSteppingFilter.getExclusionPatterns ()</li>
<li>PropertyChangeListener added to EngineContextProvider.</li>
<li>EngineContextProvider.getOriginalSourceRoots()</li>
<li>EngineContextProvider.getSourceRoots()</li>
<li>EngineContextProvider.setSourceRoots()</li>
</ul>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>JPDADebugger.SESSION_ID.</summary>
<date day="17" month="5" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes"/>
<description>
<p>
JPDADebugger.SESSION_ID constant has been added.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Firing of exceptions during watches evaluation fixed.</summary>
<date day="25" month="5" year="2004"/>
<author login="jjancura"/>
<compatibility modification="yes" source="incompatible" binary="incompatible"/>
<description>
<p>
InvalidExpressionException is fired from folowing methods now:
</p>
<ul>
<li>JPDAWatch.getToStringValue()</li>
<li>ObjectVariable.getToStringValue()</li>
<li>ObjectVariable.invokeMethod()</li>
</ul>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>InvalidExpressionException can encapsulate other exceptions.</summary>
<date day="1" month="6" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes"/>
<description>
<p>
Mew constructor added (InvalidExpressionException(java.lang.Throwable)),
and InvalidExpressionException.getTargetException() method added to support firing of
nested exceptions.
</p>
<ul>
<li>JPDAWatch.getToStringValue()</li>
<li>ObjectVariable.getToStringValue()</li>
<li>ObjectVariable.invokeMethod()</li>
</ul>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>ContextProvider.getFieldLineNumber() method added.</summary>
<date day="1" month="6" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes"/>
<description>
<p>
ContextProvider.getFieldLineNumber() method added.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Two methods added to ContextProvider.</summary>
<date day="8" month="6" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes"/>
<description>
<p>
ContextProvider.getImports () method added to support better evaluation of expressions.
ContextProvider.getLineNumber (annotaion) method added to fix stepping through modified files.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>ContextProvider and EngineContextProvider has been changed from interfaces to abstract classes.</summary>
<date day="8" month="6" year="2004"/>
<author login="jjancura"/>
<compatibility modification="yes" source="incompatible" binary="incompatible"/>
<description>
<p>
ContextProvider and EngineContextProvider has been changed from interfaces to abstract classes.
This was done to support future changes in these classes.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>"String EditorContext.getClassName (url, lineNumber)" method has been added.</summary>
<date day="8" month="10" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes" source="incompatible" binary="incompatible"/>
<description>
<p>
This method is needed to correctly implement line breakpoint in secondary classes.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>"EditorContext.updateTimeStamp(timeStamp,url)" method has been added.</summary>
<date day="13" month="10" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes" source="incompatible" binary="incompatible"/>
<description>
<p>
This method is needed to correctly implement fix & continue action.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>"global" parameter added to "SourcePathProvider.getURL (String relativePath, boolean global)" method.</summary>
<date day="18" month="10" year="2004"/>
<author login="jjancura"/>
<compatibility addition="yes" source="incompatible" binary="incompatible"/>
<description>
<p>
This parameter has been added to distinguish between finding sources for smart
stepping feature, and for all other features like douuble click on stack trace..
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>LineBreakpoint supplied with the information about the source path where it is set.</summary>
<version major="1" minor="3"/>
<date day="15" month="2" year="2005"/>
<author login="lkotouc"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
A line breakpoint does not contain the information
about the source path where it is set. There is no
way how to differ between breakpoints in the case
when
- several JSPs have the same name AND
- these JSPs are statically included into one JSP page.
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="LineBreakpoint"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>JPDAStep class added (also new method createJPDAStep added to JPDADebugger)</summary>
<version major="1" minor="5"/>
<date day="29" month="6" year="2005"/>
<author login="rondruska"/>
<compatibility addition="yes" source="incompatible" binary="compatible"/>
<description>
<p>
JPDAStep allows to create a step request to JDI with
no UI interference. It was designed for new RunIntoMethod
action. New method JPDADebugger.createJPDAStep creates
a new instance of JPDAStep.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>JPDA API interfaces that correspond to JDI API declared as not to implement.</summary>
<version major="2" minor="0"/>
<date day="12" month="8" year="2005"/>
<author login="mentlicher"/>
<compatibility addition="no" source="incompatible" binary="incompatible"/>
<description>
<p>
JPDA API represents JDI functionality.
Since JDI interfaces evolve from one version to another, it's
necessary to declare that interfaces in
org.netbeans.api.debugger.jpda package should not be implemented,
since new methods can be added to these interfaces at any time
to keep up with the JDI functionality.
</p>
<p>
Also JPDABreakpointEvent and JPDABreakpointListener are moved to
newly created org.netbeans.api.debugger.jpda.event package.
</p>
</description>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Added interrupt method to JPDAThread class</summary>
<version major="2" minor="1"/>
<date day="18" month="8" year="2005"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
A possibility to interrupt a debuggee thread is added.
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDAThread" />
<issue number="59072"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Added canBeModified() method to JPDADebugger class</summary>
<version major="2" minor="3"/>
<date day="3" month="11" year="2005"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
A possibility to detect whether the debuggee is read-only is added.
This check works fine on JDK 1.5 and higher, on JDK 1.4 it returns
<code>true</code> by default.
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
<issue number="67046"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Added getSourceRoot() method to SourcePathProvider class</summary>
<version major="2" minor="6"/>
<date day="3" month="5" year="2006"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
Retrieves a source root for a given URL. This is necessary to
match breakpoint locations with the sources selected fopr debugging.
It returns <code>null</code> by default.
</p>
</description>
<class package="org.netbeans.spi.debugger.jpda" name="SourcePathProvider" />
<issue number="52180"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Added JPDAClassType, ClassVariable and ReturnVariable classes</summary>
<version major="2" minor="7"/>
<date day="12" month="7" year="2006"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
In order to be able to provide static context information
and return value of methods, three new classes were added.
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDAClassType" />
<class package="org.netbeans.api.debugger.jpda" name="ClassVariable" />
<class package="org.netbeans.api.debugger.jpda" name="ReturnVariable" />
<issue number="80090"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Added setPreferedClassName and getPreferredClassName methods to LineBreakpoint</summary>
<version major="2" minor="8"/>
<date day="30" month="8" year="2006"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
In order to be able to provide the class name for which the
breakpoint should be submitted. This is necessary for JSP.
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="LineBreakpoint" />
<issue number="83188"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Support for stepping over operations.</summary>
<version major="2" minor="9"/>
<date day="1" month="2" year="2007"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
In order to be able to provide stepping over operations,
we need a representation of an operation and some way how to
retrieve the operation(s) from a Thread and a CallStackFrame.
</p>
<p>
Added fields:<br/>
<code>JPDAStep.STEP_OPERATION</code>,
<code>EditorContext.CURRENT_LAST_OPERATION_ANNOTATION_TYPE</code>,
<code>EditorContext.CURRENT_EXPRESSION_SECONDARY_LINE_ANNOTATION_TYPE</code>,
<code>EditorContext.CURRENT_EXPRESSION_CURRENT_LINE_ANNOTATION_TYPE</code>
</p>
<p>
Added methods:<br/>
<code>CallStackFrame.getCurrentOperation()</code>,
<code>JPDAThread.getCurrentOperation()</code>,
<code>JPDAThread.getLastOperations()</code>,
<code>EditorContext.createMethodOperation()</code>,
<code>EditorContext.addNextOperationTo()</code>,
<code>EditorContext.createPosition()</code>,
<code>EditorContext.getOperations()</code>
</p>
<p>
Added classes:<br/>
<code>EditorContext.BytecodeProvider</code>,
<code>EditorContext.Operation</code>,
<code>EditorContext.Position</code>
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDAStep" />
<class package="org.netbeans.api.debugger.jpda" name="CallStackFrame" />
<class package="org.netbeans.api.debugger.jpda" name="JPDAThread" />
<class package="org.netbeans.spi.debugger.jpda" name="EditorContext" />
<issue number="93842"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>API for retrieval of method arguments.</summary>
<version major="2" minor="10"/>
<date day="28" month="3" year="2007"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
An access to method arguments in source code is necessary
for cases where we do not have full debug information.
</p>
<p>
Added methods:<br/>
<code>EditorContext.getArguments()</code>
</p>
<p>
Added classes:<br/>
<code>EditorContext.MethodArgument</code>
</p>
</description>
<class package="org.netbeans.spi.debugger.jpda" name="EditorContext" />
<issue number="99257"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Support for heap walking.</summary>
<version major="2" minor="11"/>
<date day="5" month="4" year="2007"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
In order to be able to provide heap walking functionality,
we need methods for retrieval of class instances and
back references.
</p>
<p>
Added methods:<br/>
<code>Field.getDeclaringClass()</code>,
<code>JPDAClassType.getClassLoader()</code>,
<code>JPDAClassType.getSuperClass()</code>,
<code>JPDAClassType.getInstanceCount()</code>,
<code>JPDAClassType.getInstances()</code>,
<code>JPDADebugger.canGetInstanceInfo()</code>,
<code>JPDADebugger.getAllClasses()</code>,
<code>JPDADebugger.getClassesByName()</code>,
<code>JPDADebugger.getInstanceCounts()</code>,
<code>ObjectVariable.getReferringObjects()</code>,
<code>ObjectVariable.getClassType()</code>,
<code>ObjectVariable.getUniqueID()</code>.
</p>
<p>
Added classes:<br/>
<code>VariableType</code>,
<code>JPDAArrayType</code>.
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
<class package="org.netbeans.api.debugger.jpda" name="JPDAClassType" />
<class package="org.netbeans.api.debugger.jpda" name="ObjectVariable" />
<class package="org.netbeans.api.debugger.jpda" name="VariableType" />
<class package="org.netbeans.api.debugger.jpda" name="JPDAArrayType" />
<issue number="100047"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>API for identification of method declarations in source code.</summary>
<version major="2" minor="12"/>
<date day="21" month="5" year="2007"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>In order to implement annotation of method breakpoints in Editor, we need to be
able to locate individual methods in Editor, based on their names and signature. Also we need
annotation types for fields and methods.
</p>
<p>
Added methods:<br/>
<code>EditorContext.getMethodLineNumber()</code>,
<code>EditorContext.getCurrentMethodDeclaration()</code>,
</p>
<p>
Added fields:<br/>
<code>EditorContext.FIELD_BREAKPOINT_ANNOTATION_TYPE</code>,
<code>EditorContext.DISABLED_FIELD_BREAKPOINT_ANNOTATION_TYPE</code>,
<code>EditorContext.METHOD_BREAKPOINT_ANNOTATION_TYPE</code>
<code>EditorContext.DISABLED_METHOD_BREAKPOINT_ANNOTATION_TYPE</code>
</p>
</description>
<class package="org.netbeans.spi.debugger.jpda" name="EditorContext" />
<issue number="103934"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Enhance JPDA breakpoints.</summary>
<version major="2" minor="13"/>
<date day="21" month="5" year="2007"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
To catch-up with JDI capabilities and be able to implement new enhancements,
we need to add support for new breakpoint properties into the debugger JPDA API.<br/>
These are mainly class and thread filters and hit counts.
</p>
<p>
Added methods:<br/>
<code>ExceptionBreakpoint.getClassFilters()</code>,
<code>ExceptionBreakpoint.setClassFilters()</code>,
<code>ExceptionBreakpoint.getClassExclusionFilters()</code>,
<code>ExceptionBreakpoint.setClassExclusionFilters()</code>,
<code>FieldBreakpoint.getInstanceFilters()</code>,
<code>FieldBreakpoint.setInstanceFilters()</code>,
<code>FieldBreakpoint.getThreadFilters()</code>,
<code>FieldBreakpoint.setThreadFilters()</code>,
<code>JPDABreakpoint.getHitCountFilter()</code>,
<code>JPDABreakpoint.getHitCountFilteringStyle()</code>,
<code>JPDABreakpoint.setHitCountFilter()</code>,
<code>LineBreakpoint.getInstanceFilters()</code>,
<code>LineBreakpoint.setInstanceFilters()</code>,
<code>LineBreakpoint.getThreadFilters()</code>,
<code>LineBreakpoint.setThreadFilters()</code>,
<code>MethodBreakpoint.getMethodSignature()</code>,
<code>MethodBreakpoint.setMethodSignature()</code>,
<code>MethodBreakpoint.getInstanceFilters()</code>,
<code>MethodBreakpoint.setInstanceFilters()</code>,
<code>MethodBreakpoint.getThreadFilters()</code>,
<code>MethodBreakpoint.setThreadFilters()</code>.
</p>
<p>
Added fields:<br/>
<code>ExceptionBreakpoint.PROP_CLASS_FILTERS</code>,
<code>ExceptionBreakpoint.PROP_CLASS_EXCLUSION_FILTERS</code>,
<code>FieldBreakpoint.PROP_INSTANCE_FILTERS</code>,
<code>FieldBreakpoint.PROP_THREAD_FILTERS</code>,
<code>JPDABreakpoint.PROP_HIT_COUNT_FILTER</code>,
<code>JPDABreakpoint.HIT_COUNT_FILTERING_STYLE</code>,
<code>LineBreakpoint.PROP_INSTANCE_FILTERS</code>,
<code>LineBreakpoint.PROP_THREAD_FILTERS</code>,
<code>MethodBreakpoint.PROP_METHOD_SIGNATURE</code>,
<code>MethodBreakpoint.PROP_INSTANCE_FILTERS</code>,
<code>MethodBreakpoint.PROP_THREAD_FILTERS</code>.
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="ExceptionBreakpoint" />
<class package="org.netbeans.api.debugger.jpda" name="FieldBreakpoint" />
<class package="org.netbeans.api.debugger.jpda" name="JPDABreakpoint" />
<class package="org.netbeans.api.debugger.jpda" name="LineBreakpoint" />
<class package="org.netbeans.api.debugger.jpda" name="MethodBreakpoint" />
<issue number="103936"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Enhance JPDA API with better thread control.</summary>
<version major="2" minor="16"/>
<date day="2" month="6" year="2008"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
This API change is necessary for the redesign of the debugger UI and
it's behavior with respect to threads.
<p>
Added classes:<br/>
<code>org.netbeans.api.debugger.jpda.DeadlockDetector</code>,
<code>org.netbeans.api.debugger.jpda.MonitorInfo</code>,
<code>org.netbeans.api.debugger.jpda.ThreadsCollector</code>
</p>
<p>
Added methods:<br/>
<code>CallStackFrame.getFrameDepth()</code>,
<code>CallStackFrame.getOwnedMonitors()</code>,
<code>JPDADebugger.getThreadsCollector()</code>,
<code>JPDADebugger.getDeadlockDetector()</code>,
<code>JPDAThread.getCurrentBreakpoint()</code>,
<code>JPDAThread.getContendedMonitorAndOwner()</code>,
<code>JPDAThread.getOwnedMonitorsAndFrames()</code>,
<code>EditorContext.annotate()</code> with thread argument,
<code>AttachingDICookie.getProcessID()</code>
</p>
<p>
Added fields:<br/>
<code>JPDADebugger.PROP_THREAD_STARTED</code>,
<code>JPDADebugger.PROP_THREAD_DIED</code>,
<code>JPDADebugger.PROP_THREAD_GROUP_ADDED</code>,
<code>JPDAThread.PROP_SUSPENDED</code>,
<code>JPDAThread.PROP_BREAKPOINT</code>,
<code>EditorContext.OTHER_THREAD_ANNOTATION_TYPE</code>
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="CallStackFrame" />
<class package="org.netbeans.api.debugger.jpda" name="DeadlockDetector" />
<class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
<class package="org.netbeans.api.debugger.jpda" name="JPDAThread" />
<class package="org.netbeans.api.debugger.jpda" name="MonitorInfo" />
<class package="org.netbeans.api.debugger.jpda" name="ThreadsCollector" />
<class package="org.netbeans.spi.debugger.jpda" name="EditorContext" />
<issue number="136099"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Improve threading model.</summary>
<version major="2" minor="18"/>
<date day="13" month="1" year="2009"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
ReadWriteLock is introduced to synchronize the access to JPDAThread.
ReadLock of that read/write pair is publicly available through the
new method JPDAThread.getReadAccessLock(). Clients can use this lock
to assure that the thread is not resumed in the mean time.
<p>
Added methods:<br/>
<code>JPDAThread.getReadAccessLock()</code>,
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDAThread" />
<issue number="156368"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Annotations for debugger service registration.</summary>
<version major="2" minor="19"/>
<date day="2" month="2" year="2009"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
Annotations are added for easy registration on module layers.
<code>*Provider.Registration</code> annotations are introduced to register
implementations of appropriate providers.
</p>
</description>
<issue number="153093"/>
<issue number="156687"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>API for ability to plug-in evaluator engine.</summary>
<version major="2" minor="21"/>
<date day="10" month="9" year="2009"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<p>
An <code>Evaluator</code> interface is introduced, with
<code>evaluate()</code> method. It's implementation should be registered
for the desired language that compiles into bytecode.
</p>
</description>
<class package="org.netbeans.spi.debugger.jpda" name="Evaluator" />
<issue number="171342"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Property for classes fixed event added.</summary>
<version major="2" minor="25"/>
<date day="14" month="2" year="2010"/>
<author login="dprusa"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
JPDA debugger properties have been extended by a property name for classes
fixed event. This event is usually generated when the user invokes Apply Code
Changes action.
<p>
Added field:<br/>
<code>JPDADebugger.PROP_CLASSES_FIXED</code>
</p>
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
<issue number="180695"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>JPDADebugger.startListeningAndGetEngines().</summary>
<version major="2" minor="26"/>
<date day="23" month="3" year="2010"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
JPDADebugger.startListeningAndGetEngines() introduced to return the
debugger engines that are started, for use by the fix of the defect #182439.
This method is identical to JPDADebugger.startListening(), but returns
the started engines.
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
<issue number="182439"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>BreakpointsClassFilter provider introduced.</summary>
<version major="2" minor="37"/>
<date day="4" month="8" year="2012"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
BreakpointsClassFilter introduced to provide a customized set of classes
for breakpoints.
</description>
<class package="org.netbeans.spi.debugger.jpda" name="BreakpointsClassFilter" />
<issue number="215680"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Breakpoints can be made session-specific.</summary>
<version major="2" minor="41"/>
<date day="19" month="2" year="2013"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
getSession()/setSession() methods are added to JPDABreakpoint class.
They can be used to make the breakpoint debugger session-specific.
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDABreakpoint" />
<issue number="226029"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Breakpoints can deactivated.</summary>
<version major="2" minor="42"/>
<date day="27" month="2" year="2013"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
Two methods are added to JPDADebugger class: getBreakpointsActive()
and setBreakpointsActive(boolean). The set method fires PROP_BREAKPOINTS_ACTIVE
event. <br/>
These methods are used to activate/deactivate all breakpoints in the
debugger session.
Initially, the breakpoints are active in the debugger session.
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
<issue number="79027"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>A possibility to get/set mirror objects from debugger variables.</summary>
<version major="2" minor="44"/>
<date day="30" month="4" year="2013"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<code>MutableVariable</code> interface is introduced. It's to be implemented by
variables that can change their values. <code>Field</code>,
<code>LocalVariable</code> and <code>JPDAWatch</code> now extend
<code>MutableVariable</code>.
<p/>
<code>Object createMirrorObject()</code> method is added to <code>Variable</code>
class and <code>void setFromMirrorObject(Object obj)</code> method
is declared by <code>MutableVariable</code>.
</description>
<class package="org.netbeans.api.debugger.jpda" name="Variable" />
<class package="org.netbeans.api.debugger.jpda" name="MutableVariable" />
<issue number="228894"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Add a way to create mirror objects in the target VM and execute static methods.</summary>
<version major="2" minor="47"/>
<date day="24" month="10" year="2013"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
createMirrorVar() methods are introduced in JPDADebugger class. They
create a mirror object in the target virtual machine.
<p/>
Similar to invokeMethod() method on ObjectVariable, invokeMethod()
is introduced on JPDAClassType for invocation of static methods.
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDADebugger" />
<class package="org.netbeans.api.debugger.jpda" name="JPDAClassType" />
<issue number="237233"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Add information about native methods into EditorContext.Operation.</summary>
<version major="2" minor="51"/>
<date day="8" month="9" year="2014"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
A new method <code>createMethodOperation()</code>, which takes
<code>boolean isNative</code> is added to <code>EditorContext</code>
class. The <code>EditorContext.Operation</code> has <code>isNative()</code>
method to retrieve that information. The implementation retrieves the
native flag from parser information, therefore there can occur native
methods at runtime, which are not marked as native by this flag.
</description>
<class package="org.netbeans.spi.debugger.jpda" name="EditorContext" />
<issue number="246819"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Add methods for retrieval of implemented and extended types.</summary>
<version major="3" minor="2"/>
<date day="10" month="7" year="2015"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
Methods that provide implemented and extended types were added to
<code>JPDAClassType</code> class. These are:
<ul>
<li>getSubClasses()</li>
<li>getAllInterfaces()</li>
<li>getDirectInterfaces()</li>
<li>isInstanceOf()</li>
</ul>
Associated with this is also an ability to retrieve the reflected type
from the class variable. Therefore, we add following method
to <code>ClassVariable</code>:
<ul>
<li>getReflectedType()</li>
</ul>
</description>
<class package="org.netbeans.api.debugger.jpda" name="JPDAClassType" />
<class package="org.netbeans.api.debugger.jpda" name="ClassVariable" />
<issue number="253295"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Enhanced smart-stepping.</summary>
<version major="3" minor="5"/>
<date day="21" month="10" year="2015"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<code>SmartSteppingCallback.stopAt()</code> method added to be able
to override the default smart-stepping logic and provide specific
steps that should be performed at given locations.
</description>
<class package="org.netbeans.spi.debugger.jpda" name="SmartSteppingCallback" />
<issue number="255918"/>
</change>
<change>
<api name="JPDADebuggerAPI"/>
<summary>Differentiate application-level exceptions</summary>
<version major="3" minor="7"/>
<date day="26" month="10" year="2016"/>
<author login="mentlicher"/>
<compatibility addition="yes" source="compatible" binary="compatible"/>
<description>
<code>InvalidExpressionException</code> can be thrown as a result
of an application-level exception. We need to differentiate this case
from exceptions thrown from NetBeans code. A boolean argument in the
constructor and a method <code>hasApplicationTarget()</code> are
added to <code>InvalidExpressionException</code> for this purpose.
</description>
<class package="org.netbeans.api.debugger.jpda" name="InvalidExpressionException" />
<issue number="268011"/>
</change>
</changes>
<!-- Now the surrounding HTML text and document structure: -->
<htmlcontents>
<!--
NO NO NO NO NO!
==============> DO NOT EDIT ME! <======================
AUTOMATICALLY GENERATED FROM APICHANGES.XML, DO NOT EDIT
SEE xml/api/doc/changes/apichanges.xml
-->
<head>
<title>Debugger JPDA API changes by date</title>
<link rel="stylesheet" href="prose.css" type="text/css"/>
</head>
<body>
<p class="overviewlink"><a href="overview-summary.html">Overview</a></p>
<h1>Introduction</h1>
<p>This document lists changes made to the Debugger JPDA APIs. Please ask on the
<code>nbdev@netbeans.org</code>
mailing list if you have any questions about the details of a
change, or are wondering how to convert existing code to be compatible.
</p>
<hr/><standard-changelists module-code-name="org.netbeans.api.debugger.jpda/1"/>
<hr/><p>@FOOTER@</p>
</body>
</htmlcontents>
</apichanges>
|