Comments (6)
Hey, I have no idea how the Goland debugger is running but this how I do it
I open terminal and I run this command :
dlv debug --headless --api-version=2 --listen=127.0.0.1:43000 .
to put it simply this will start a debugging server
Now, where you should do some work by yourself is here :
since I use VS code I have a config file called launch.json
and here how it looks like
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Remote",
"type": "go",
"request": "attach",
"mode": "remote",
"port": 43000,
"host": "127.0.0.1",
"showLog": true,
}
]
}
as you might have seen here, VS code becomes a client to the dlv debugger run previously on terminal,
when I run debug on vs code it get it "attach" directly to the remote terminal debugger and starts debugging
you need now to find the equivalend of this config in Goland, let me know if you're still struggeling
from huh.
As far as i can see, this breaks between v0.2.3
and v0.3.0
:(
Edit: 'got it ! This was introduced with #95 by @maaslalani
Let see if i can spot where the problem is...
from huh.
@nervo Hmmm I think I m missing something here, so in Goland you don't need to run dlv and attach, this is done by Goland debugger itself ?
from huh.
@shedyfreak sorry, but are you sure you're on the right issue ? This one is about rendering problems in goland, i'm not convinced this could be related to delve :)
from huh.
@nervo hmm sorry, I might have misunderstood the issue, but it seems like the issue couldn't be from Goland terminal since, as mentionned in the description of the bug, works fine.
He said that he has an issue when debugging which ( on the Debug Console aka Console as he refers to it) which made me assume something is wrong between running the debugger and attaching Goland debugger client to the debugger server, which made me question how debugging in Bubbletea apps in Goland.
please don't hesitate to correct me if you think I got it wrong.
from huh.
Hey @shedyfreak thanks for trying to help! This issue is an issue with Goland both with its Run and Debug console.
Hmmm I think I m missing something here, so in Goland you don't need to run dlv and attach, this is done by Goland debugger itself ?
Goland auto-magically creates dlv
cli commands and executes them, see an example in this screenshot:
(This terminal is interactive, but all the text was generated by Goland or the CLI tools it calls on your behalf.)
@nervo you're brilliant dude! Sorry for being so uneducated about WindowSizeMsg
s or how to further debug this on my own. I sincerely appreciate you and your time in looking into this further!
from huh.
Related Issues (20)
- Black and white color Spinner HOT 1
- Releaase 0.3.1 for File Picker HOT 1
- Theme.FieldSeparator no longer supported in 0.4.x? HOT 1
- MultiSelect's filterable set to "false" will have no effect.
- Add Filterable for Select HOT 2
- Empty confirmation considered invalid in accessible mode HOT 1
- Add "Select All" and "Invert" Shortcuts to Multiselect
- Add `WithInput` to specify input stream
- Overriding KeyMaps and KeyBinds
- Fullscreen / AltScreen does not take the full screen - there seems to be a maximum height
- Multiple forms can interfere with each other
- Keypresses are ignored upon reaching 2nd form (examples/gh)
- Windows: Tab/Enter keys not handled correctly HOT 2
- bug: note.render should escape everything in code block
- Hiding implicit focus indicators HOT 2
- Get input as an integer or other type HOT 3
- Group Title and Description don't work
- NewNote() will lose color and return to monochrome
- Adding a test package to simplify testing interactive commands
- Dynamic fields don't update when form is active HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huh.