Skip to content

Enable developers to click on UI to find the addComponent call/line in source code #390

@vaadin-bot

Description

@vaadin-bot

Originally by @samie


To debug applications that have complex UI it is currently hard to find the Java source code that constructs it.

To help developers find the relevant source code line a generic debug feature into addComponent is suggested:

  • Application debug mode
  • Find out the code calling the addComponent function in a ComponentContainer
  • Add a button (or similar) to component/windget UI that developer can select it
  • When selected, output the formatted src line into stdout, so that Eclipse creates an active link out of it
  • Developers can then click the button and and the line in console output to find the code that added the component

Imported from https://dev.vaadin.com/ issue #1243

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleStale bot label

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions