-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When I am on a breakpoint and press stepOver or StepInto it doesn't bring me to the function or to the next line.
Expected Behavior
That debugging functionality works like in VsCode. When I press StepOver it should bring me to the next line. Currently it doesn't do anything. And it loses the focus on the thread as it seems?
Steps To Reproduce
- Windows 64 Bit Running Nvim 0.11
- With this flutter-tools configuration
local dartExcludedFolders = {
vim.fn.expand '$HOME/AppData/Local/Pub/Cache',
vim.fn.expand '$HOME/.pub-cache',
vim.fn.expand '/opt/homebrew/',
vim.fn.expand '$HOME/tools/flutter/',
}
local blink = require 'blink.cmp' -- or however you import blink
local caps = blink.get_lsp_capabilities() -- your default capabilities
local on_a = blink.on_attach -- your default on_attach
return {
{
'nvim-flutter/flutter-tools.nvim',
lazy = false,
dependencies = {
'nvim-lua/plenary.nvim',
'stevearc/dressing.nvim',
'mfussenegger/nvim-dap',
},
config = true,
opts = {
lsp = {
on_attach = on_a,
capabilities = caps,
color = {
enabled = false,
virtual_text = true,
},
settings = {
showTodos = true,
completeFunctionCalls = true,
analysis_excluded_folders = dartExcludedFolders,
rename_files_with_classes = 'prompt',
updateImportsOnRename = true,
enable_snippets = true,
},
},
flutter_path = 'C:/Users/Sensei/AppData/Local/Flutter/bin/flutter.bat',
debugger = {
enabled = false,
exception_breakpoints = {},
evaluate_to_string_in_debug_views = true,
},
decorations = {
statusline = {
app_version = true,
device = true,
project_config = true,
},
},
dev_log = {
enabled = true, -- turn on the dev log window
notify_errors = true, -- pop up notifications on errors
open_cmd = 'tabedit', -- open the dev log in a new tab
},
widget_guides = {
enabled = true,
},
},
},
}
Open a Flutter project, set a breakpoint somewhere and try to step into the next line or step into a function.
Environment
- OS: Windows 11
- Flutter version: 3.32.7
- Is flutter in $PATH: yes
- neovim version: 0.11
- Using Riverpod, not sure if that matters.
Anything else?
No response
Metadata
Metadata
Assignees
Labels
No labels