Comments (33)
Can you provide ./gdbfrontend
output and output for tmux a -t gdb-frontend
?
from gdb-frontend.
even starting ./gdbfrontend with -V doesn't yield any more useful output really
Each of those 'GET /' lines is from refreshing the page in Chorme/Vivaldi/Firefox
from gdb-frontend.
What is your tmux
version and which OS are you using?
from gdb-frontend.
I have the same issue on debian 9 running tmux 2.3
from gdb-frontend.
Arch Linux 5.5.4 , tmux 3.0_a-1
from gdb-frontend.
Try updating tmux to 2.8 at least or empty tmux.conf
content. I will add a check tmux version check for fallback
from gdb-frontend.
Arch Linux 5.5.4 , tmux 3.0_a-1
Very interesting.. clean your tmux.conf
until the solution.
from gdb-frontend.
Arch Linux 5.5.4 , tmux 3.0_a-1
Very interesting.. clean your
tmux.conf
until the solution.
I'm no longer at that desktop, I was only able to confirm those version numbers because my laptop is on Arch too. I'll let you know if cleaning the tmux.conf fixes things when I get home in ~3 hours.
from gdb-frontend.
I have no ~/.tmux.conf , same problem.
from gdb-frontend.
I have no ~/.tmux.conf , same problem.
It has its own tmux.conf
: https://github.com/rohanrhu/gdb-frontend/blob/master/tmux.conf
Clean its content but don't remove the file.
from gdb-frontend.
I cleared tmux.conf
I get popups "Connection closed to GDBFrontend server!" on 5551, closing that box makes a new one appear
gdb is "running" in 127.0.0.1:5550
from gdb-frontend.
Tried it from my laptop, same "Connection Closed Message" even if tmux.conf in the gdb-frontend folder is cleared here as well
from gdb-frontend.
The Tmux session does open now:
from gdb-frontend.
I think carriage returns may occur this problem but im not sure.
Offset: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000: 73 65 74 20 2D 67 20 73 74 61 74 75 73 2D 62 67 set.-g.status-bg
00000010: 20 62 6C 75 65 0D 0A 73 65 74 20 2D 67 20 73 74 .blue..set.-g.st
00000020: 61 74 75 73 2D 66 67 20 77 68 69 74 65 0D 0A 73 atus-fg.white..s
00000030: 65 74 20 2D 67 20 73 74 61 74 75 73 20 6F 66 66 et.-g.status.off
00000040: 0D 0A 73 65 74 20 2D 67 20 6D 6F 75 73 65 20 6F ..set.-g.mouse.o
00000050: 6E n
Can you try this? 6c9723a
from gdb-frontend.
I have not tested GDB 9 yet. I will look that.
from gdb-frontend.
That didn't appear to do anything. Tmux is working fine from what I can tell. Intreguringly, on the laptop I'm getting a bit more output, despite getting the same error in the browser, this is regardless of what's in the tmux.conf file. Also, on the laptop, for no apparent reason, if I go to 127.0.0.1:5551/terminal, the terminal does load briefly now (this is dependent on tmux.conf) but I still get the connection error message and the page gives me no choice but to reload
from gdb-frontend.
I have not tested GDB 9 yet. I will look that.
I'd imagine that's our problem. I'll see if I can install 8 and point it to use it. Gimme a bit
from gdb-frontend.
Can you paste outputs for these commands on GDB shell?
shell echo $CWD
python import sys;print(sys.version)
python print(dir(server))
from gdb-frontend.
I just tried downgrading to 8.3.1, no change. Putting them back up to 9.
shell echo $CWD
gives no output
(gdb) python import sys;print(sys.version)
3.8.1 (default, Jan 22 2020, 06:38:00)
[GCC 9.2.0]
(gdb) python print(dir(server))
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'server' is not defined
Error while executing Python code.
from gdb-frontend.
Did you try python print(dir(server))
on tmux gdb-frontend session?
from gdb-frontend.
Did you try
python print(dir(server))
on tmux gdb-frontend session?
Not above, but I just did and the output is exactly the same
from gdb-frontend.
Strangely, in the tmux session I can't even do the print(sys.version),
from gdb-frontend.
Strangely, in the tmux session I can't even do the print(sys.version),
print()
is python function like python import sys;print(sys.version)
from gdb-frontend.
Did you try
python print(dir(server))
on tmux gdb-frontend session?Not above, but I just did and the output is exactly the same
Can you paste these outputs?
python import os;print(os.getcwd())
python import server;print(dir(server))
from gdb-frontend.
Strangely, in the tmux session I can't even do the print(sys.version),
print()
is python function likepython import sys;print(sys.version)
ope, my bad. Currently in class so trying to listen and type at the same time. It does print in the tmux session:
from gdb-frontend.
It seems that file is a different file from https://github.com/rohanrhu/gdb-frontend/blob/master/server.py
Can you paste this output? python import server;print(server.__file__)
from gdb-frontend.
Yep, you're right. It's using /usr/lib/python3.8/site-packages/server.py
from gdb-frontend.
Yep, you're right. It's using
/usr/lib/python3.8/site-packages/server.py
Can you try this? 874e5b5
from gdb-frontend.
cant test it to really confirm right now, (laptop is about to die) but that does seem to have worked!
from gdb-frontend.
Im sorry for your laptop :/ Did 6c9723a solve the tmux issue?
from gdb-frontend.
from gdb-frontend.
Can we close this issue?
from gdb-frontend.
Yeah, didn't actually realize it wasn't already. My bad.
from gdb-frontend.
Related Issues (20)
- PoC Flatpak packaging HOT 14
- Maybe something other than tmux is available for Windows? HOT 3
- Failure with Python 3.6: unexpected keyword argument 'capture_output' HOT 3
- gdb prompt is behind bottom status bar HOT 6
- Alert!: Unable to connect to remote host. HOT 22
- sorting files in folder in the sources aids the navigation HOT 3
- GDB executable not found due to $PWD is modified by gdbfrontend HOT 6
- a
- Not support risc-v HOT 3
- How to debug a GDB Python extension (pdb)? HOT 1
- How to debug apps get inputs from TTY? HOT 4
- gdb main thread is bloocking ... HOT 7
- FeatReq: Close windows in right sidebar HOT 5
- Update Ace editor HOT 3
- building gdb on arch failed HOT 1
- Accessing debugger interface from another machine (Access is denied) HOT 2
- Problems encountered during trying out gdb-frontend HOT 2
- macOS Thread no longer exists HOT 7
- RFE: step OUT HOT 1
- Evaluating pointers as arrays 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 gdb-frontend.