table debug

Solution Description


@[TOC](eclipse debug matrix, array, tree plugin)

Preface

Recently, there is a need to use eclipse to debug the java matrix, and see that the view as array of pycharm is very useful, as shown below.

But I did not find a similar eclipse plug-in on the Internet, so I wrote one by myself and shared it with everyone

Show results
  1. Eclipse first debug the java program to reach the specified breakpoint, as follows:
  2. Select the variable in Variables View and click
  3. List display effect
  4. Matrix display effect
  5. Tree view display
  6. Map display effect
  7. The java version of the DataFrame display effect
Custom java type settings
  1. The plug-in can automatically identify arrays, matrices, and java types that implement java.lang.Iterable and java.util.Iterator. And convert it into a list.
  2. For user-defined java types, it is necessary to provide methods or member variables whose return value is the java type included in 1, as shown in the following figure:
  3. The member variable can be written directly, and the method format is: method name () return value type. All types must have package name
  4. If Column's name and Line's name are null, it means that 0,1,2,3,4......index values ​​are generated by default. If you need to customize, such as joinery.DataFrame row names and column names are obtained through the index method and the columns method, the configuration rules are as 3.
  5. When displaying variables or objects in a tree diagram, there is no need to configure Column's name and Line's name
Directions for improvement
  1. Slow when displaying large matrices
  2. No version adaptation, the eclipse version I developed is Mars.2 (4.5.2)
  3. I don't know how the regular api interface recognizes the VariablesView window of debug and gets the current options. Now the method is not recommended, the code is shown in the figure:

    Source code

    Hard to force java programmers. I stayed up late at night to write by myself, the code is more casual. Share it with everyone, I hope you can help maintain it

document.write('')document.addEventListener('LiveReloadDisconnect', function() { setTimeout(function() { window.location.reload(); }, 500); })

Categories: General Purpose Tools

Tags: debug

Additional Details

Date Created: Tuesday, September 29, 2020 - 04:29

Date Updated: Wednesday, October 14, 2020 - 08:01

Submitted by: jian cui

Screenshot
Date Ranking Installs Clickthroughs
March 2024 0/0 0 5
February 2024 0/0 0 14
January 2024 0/0 0 18
December 2023 0/0 0 13
November 2023 0/0 0 11
October 2023 0/0 0 11
September 2023 0/0 0 10
August 2023 0/0 0 17
July 2023 0/0 0 10
June 2023 0/0 0 11
May 2023 0/0 0 7
April 2023 0/0 0 5
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Reviews Add new review