Skip to content

[Bug]DBCode crashes when exporting ERD as PNG or other image formats #1092

@zheandrizky

Description

@zheandrizky

Bug Description

DBCode crashes or causes VS Code to become unresponsive when I try to export an ERD to PNG or another image format. The export process fails, and the application stops responding unexpectedly.

Repro Steps

  1. Open VS Code.
  2. Open DBCode extension.
  3. Connect to the database.
  4. Open or generate ERD from the database/schema.
  5. Click the export option.
  6. Select PNG or another available export format.
  7. The export process fails and DBCode/VS Code force closes or crashes.

Expected Behavior

ERD should be exported successfully to PNG or another selected format without crashing.

Actual Behavior

DBCode crashes or force closes when exporting the ERD. The export file is not generated.

Environment

  • DBCode version:
  • VS Code version:
  • OS:
  • Database:
  • Connection: direct

Error Messages (if applicable)

Image

Metadata

Metadata

Assignees

No one assigned

    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