[GH-ISSUE #351] How to debug? #264

Closed
opened 2026-03-04 01:03:26 +03:00 by kerem · 3 comments
Owner

Originally created by @tupyy on GitHub (Oct 11, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/351

Hello.
Great work!! I'm using tview to create a simple app with one TextView and a Table.
I'm trying to display large log files in the TextView and I'm doing this from go routine.
My problem is I don't know how to debug the app. Every time when I'm trying to debug it crashes.
I tried delve alone (not passing by vs code debugger or vim-go) with no success.
Could you point me in the right direction please?
Thanks
Cosmin

Originally created by @tupyy on GitHub (Oct 11, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/351 Hello. Great work!! I'm using tview to create a simple app with one TextView and a Table. I'm trying to display large log files in the TextView and I'm doing this from go routine. My problem is I don't know how to debug the app. Every time when I'm trying to debug it crashes. I tried delve alone (not passing by vs code debugger or vim-go) with no success. Could you point me in the right direction please? Thanks Cosmin
kerem closed this issue 2026-03-04 01:03:27 +03:00
Author
Owner

@Bios-Marcel commented on GitHub (Oct 11, 2019):

Can you show any error output?

<!-- gh-comment-id:540942942 --> @Bios-Marcel commented on GitHub (Oct 11, 2019): Can you show any error output?
Author
Owner

@tupyy commented on GitHub (Oct 11, 2019):

There's no output.
It just freeze but I've found the headless option in delve.
I'll try and let you know how it goes.

<!-- gh-comment-id:540964689 --> @tupyy commented on GitHub (Oct 11, 2019): There's no output. It just freeze but I've found the `headless` option in delve. I'll try and let you know how it goes.
Author
Owner

@tupyy commented on GitHub (Oct 11, 2019):

I confirm that the debug must be done as:
delve --headless debug module.
It is not an issue of tview.

<!-- gh-comment-id:541050130 --> @tupyy commented on GitHub (Oct 11, 2019): I confirm that the debug must be done as: `delve --headless debug module`. It is not an issue of tview.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#264
No description provided.