Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin debugger does not like ecto-sqlite3 at all. #3685

Open
jdmarshall opened this issue Feb 27, 2025 · 0 comments
Open

Plugin debugger does not like ecto-sqlite3 at all. #3685

jdmarshall opened this issue Feb 27, 2025 · 0 comments

Comments

@jdmarshall
Copy link

jdmarshall commented Feb 27, 2025

Describe the bug

can't debug ecto tests in a project that uses ecto-sqlite3, but can with postgex

'mix test' runs to completion from the run menu in both cases, but not debug.

To Reproduce

I created this project following the ecto getting started guide in the hexdocs, only diverting to use ecto-sqlite3 instead of postgrex.

https://github.com/jdmarshall/ecto_issues/tree/trunk

Then run with latest plugin, with 1.18.2 compiled for erlang 26 (27 fails for entirely different reason

Expected behavior
Debugging should run.

Screenshots
If applicable, add screenshots to help explain your problem.

Logs

This repeats in a loop:

15:35:16.533 [error] :gen_statem #PID<0.22834.0> terminating
** (RuntimeError) connect raised ErlangError exception. The exception details are hidden, as they may contain sensitive data such as database credentials. You may set :show_sensitive_data_on_connection_error to true when starting your connection if you wish to see all of the details
:erlang.nif_error/1
(exqlite 0.29.0) Elixir.Exqlite.Sqlite3NIF.erl:21: Exqlite.Sqlite3NIF.open/2
(exqlite 0.29.0) Elixir.Exqlite.Connection.erl:540: Exqlite.Connection.do_connect/2
Queue: [internal: {:connect, :init}]
Postponed: []
State: Exqlite.Connection
Callback mode: :handle_event_function, state_enter: false

Desktop:

  • OS: MacOS Sonoma
  • Version 14.7.4 (23H420)

Erlang:

  • Installer asdf
  • Version 26.2.5.8

Elixir:

  • Installer asdf
  • Version 1.18.2-otp-26

Plugin:

  • Version 20.0.1

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant