EDT:Debug

From Eclipsepedia

Jump to: navigation, search

The Java-based debugger is implemented via JSR-45, plus some of our own extensions (such as support for a customized Variables view).

The JavaScript-based debugger has not been started yet.


Bugzilla:

Open bugs

Open enhancement requests


Function Java
JavaScript

Sizing
0.7
1.0
Future
Sizing[4]
0.7
1.0
Future
Core framework

done


15d


bug 351854
Stepping through statements
  • Most basic of function

done (free)





Will be covered by bug 351854
  • Step between EGL and Java

done (free)


N/A
  • Decide how to filter runtimes that users won't want to step into
5d
bug 346265


N/A
Breakpoints
  • Line breakpoints

done


2d

bug 352582
  • Conditional breakpoints
5d[1]


bug 351236 5d

bug 351237
  • Hit count on breakpoints

done (free)


1d

bug 352586
  • Watchpoints
15d


bug 351873 15d

bug 351874
Variables view
  • Primitives and records

done




Will be covered by bug 351854
  • User and system libraries

done (bug 346252)




Will be covered by bug 351854
  • Data tables, forms, & program parameters

done (bug 346254)




Will be covered by bug 351854
  • Arrays
2d[2]
bug 352021




Will be covered by bug 351854
  • Handler fields

done



Will be covered by bug 351854
  • Dictionaries
1d


bug 352600

Will be covered by bug 351854
  • ArrayDictionaries
1d[3]


bug 352602

Will be covered by bug 351854
  • Format display of certain variables
3d
bug 346247



Will be covered by bug 351854
  • Simple value modification of primitives
3d
bug 346249


1d

bug 352598
  • Complex value modification of variables
5d[1]


bug 352595 4d

bug 352597
  • Build watch expressions from variable context menu
3d


bug 351858 3d

bug 351859
Hot code replace (aka hotswapping)

done (free)


20d

bug 351238
Compile & generate contextual expressions 10d bug 352666 10d bug 352666
Watch expressions
5d[1]


bug 351240 4d

bug 351241
Run to line

done (bug 346256)


1d

bug 352593
Drop to frame

done (free)


3d

bug 351239
Hover value in source editor
4d

bug 351872
4d

bug 351872


[1] Depends on bug 352666 which is sized at 10 days

[2] Might make sense to create an object formatting framework where plug-ins can contribute variable value adapters. The EDT Java Generator might use one type to display, for example, an array, so it needs to use the object in a certain way to obtain its kids (e.g. edtObject.getChildren()). But a completely different generator will have a different class for arrays which will need a separate adapter for getting the kids (fooArray._children()). The first adapter that supports the given object wins - if no adapters then we fall back on JDT's display of the variable. Note: If a type generates a class then no adapter is needed - you can just generate the SMAP file with the class.

[3] Not currently supported in EDT JavaGen so it can't be worked on. Requires the generator provide a variable adapter as described in #2 above, in which case the work for this becomes writing an adapter for the runtime ArrayDictionary object - which again, can't be worked on until the base generator supports the type. If someone else extends our generator to support ArrayDictionary, they'll have to write their own adapter.

[4] Sizings for JavaScript debug assume a direct port of the RBD RUI Debugger