mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #827] Run App with Debug mode crashes #601
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#601
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tchaton on GitHub (Mar 18, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/827
Hey there,
I am trying to write a tool similar to k9s. However, It is very clear how to easily debug the tview. I tried to use the debugger but somehow, the App crashes.
Any suggestions ?
@tchaton commented on GitHub (Mar 18, 2023):
Also, it would be great to have more advanced examples with interactions. All the examples are pretty static.
@rivo commented on GitHub (Mar 25, 2023):
You're providing too little information to determine what the issue may be. I've successfully debugged
tviewapplications in VS Code. Some by attaching the debugger to an existing process, others by directly running them in VS Code's built-in terminal. You might want to provide some details if you want us to help you.Sure, more examples and/or tutorials would be nice. It's all a matter of having the time to create them. Consider sponsoring this project to boost the creation of such material.
@rivo commented on GitHub (Aug 26, 2023):
Since there was no further information provided, I'm assuming this issue has been resolved.
@spearson78 commented on GitHub (Mar 30, 2024):
I ran into the same issue. Its not a tview or tcell issue rather that the default dlv config does not have a terminal.
I followed the instructions here. https://github.com/microsoft/vscode-go/issues/843#issuecomment-526888927 and was able to debug tview applications.
There seem to have been some recent changes in VSCode ( https://github.com/golang/vscode-go/issues/124 )
Under linux the following launch.json config works
https://github.com/golang/vscode-go/issues/124#issuecomment-1012170449