Comments (12)
New error:
GDBFrontend v0.6.2-git
Traceback (most recent call last):
File "/Users/x99/Desktop/gdb-frontend/./run.py", line 350, in <module>
gotty = subprocess.Popen(
File "/Users/x99/miniconda3/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/x99/miniconda3/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: './bin/gotty_macos'
Ran chmod +x bin/gotty_macos
, got this one afterwards:
GDBFrontend v0.6.2-git
Traceback (most recent call last):
File "/Users/x99/Desktop/gdb-frontend/./run.py", line 350, in <module>
gotty = subprocess.Popen(
File "/Users/x99/miniconda3/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/x99/miniconda3/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 86] Bad CPU type in executable: './bin/gotty_macos'
Replaced bin/gotty_macos
with the one I had installed from here using brew install yudai/gotty/gotty
, got this:
GDBFrontend v0.6.2-git
Listening on 127.0.0.1: http://127.0.0.1:5551/
Open this address in web browser: http://127.0.0.1:5551/terminal/
Sending SIGKILL to PGID: 1582.
Stopped GDBFrontend.
from gdb-frontend.
Looks like we need a gotty executable for macOS 🙂 I'm currently working on a new feature, I'm going to stash it and look this issue. 👀
from gdb-frontend.
I will do stuffs about MacOS compatibility on macos-compatibility
branch if it needs.
from gdb-frontend.
That was quick, thank you!
I launched gdbfrontend from the cloned repo (I was using brew), and I get this new error:
./gdbfrontend: line 10: realpath: command not found
python3: can't open file '/run.py': [Errno 2] No such file or directory
from gdb-frontend.
I've added MacOS executable for Gotty.
Can you try macos-compatibility
branch?: https://github.com/rohanrhu/gdb-frontend/tree/macos-compatibility
from gdb-frontend.
Ah looks like realpath
is not available on Mac shell.. I'm looking.
Were you running with python3 run.py
? So is it working on Mac now?
from gdb-frontend.
Hi, I've added a custom realpath
for Mac shell. Can you try the latest revision? 04c4f1a
from gdb-frontend.
Are you sure for the port is available? 🙄
Also can you send outputs of these commands:
ps -e | grep gdb
tmux ls
tmux a -t gdb-frontend
If you don't see anything, add while True: pass
to end of the file:
Lines 69 to 71 in 7b9d2c2
Like this:
and later, try again ./gdbfrontend
by ensuring the port is available and look to tmux a -t gdb-frontend
output.
If we can't catch it with this way, I will do something for you to get some errors from tmux session.
from gdb-frontend.
Hi, any progress? I'm not able to test it on macOS since i don't have a mac.
from gdb-frontend.
Hi! No progress yet, no time to test right now. But I will soon 😉
from gdb-frontend.
Hi! No progress yet, no time to test right now. But I will soon 😉
Ok. Have a nice day 🙂
from gdb-frontend.
This issue must be fixed. Also there was this issue: #37 it is fixed too.
from gdb-frontend.
Related Issues (20)
- Can't scroll up the terminal HOT 15
- 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
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.