Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OSX » LLDB showstopper
LLDB showstopper [message #51128] Wed, 30 January 2019 15:56 Go to next message
mirek is currently offline  mirek
Messages: 11706
Registered: November 2005
Ultimate Member
I have run out of things to implement (U++ for MacOS) and I have one last showstopper that I am unable to solve: LLDB integration.

The issue is really stupid. In order to communicate with GDB, we are using changed prompt to some unique value. When waiting for GDB to finish command, we read standard output of GDB and when we recieve this prompt, we know the command is finished.

Unfortunately, for whateever reason LLDB does not do this and just sends me an echo of my command (that GDB does not do) WITH prompt at the BEGGINING of response. That makes it impossible to determine the end Sad

To make things worse, I was not able to make gdb work in MacOS...

Now I am unsure what to do next... There are 3 possible ways forward:

- find out how to make GDB work in MacOS (current version)
- find a way how to deal with LLDB, namely how to detect the end of command
- use LLDB API insted (if I am correct and there is actually an API to use... Smile - this would be ideal, but a couple of months to do

and of course, simplest of all - ignore the issue...

I think the first option is the least work - is anybody here able to use gdb?

Mirek
Re: LLDB showstopper [message #51129 is a reply to message #51128] Thu, 31 January 2019 23:09 Go to previous message
mirek is currently offline  mirek
Messages: 11706
Registered: November 2005
Ultimate Member
(just a little update, it seems like I have found a way how to use lldb after all...)
Previous Topic: theide.app with apple style menus
Next Topic: Apple style menus
Goto Forum:
  


Current Time: Tue Feb 19 19:41:19 CET 2019

Total time taken to generate the page: 0.00944 seconds