Re: [Qt-creator] Xcode 5 no longer has GDB included. Ramifications?

2013-09-24 Thread Ziller Eike

On 20.09.2013, at 14:54, Michael Jackson imikejack...@gmail.com wrote:

 
 On Sep 19, 2013, at 5:35 PM, André Pönitz 
 andre.poen...@mathematik.tu-chemnitz.de wrote:
 
 On Thu, Sep 19, 2013 at 01:19:13PM -0700, Jonathan S. Shapiro wrote:
 If GDB can support code coming from clang-llvm, perhaps a simpler interim
 solution would be to build and ship a copy of gdb in the OSX bundle for
 QtCreator?
 
 I don't really think that's a viable option, certainly not one that
 requires less work than bringing real LLDB support up to snuff. We used to
 ship usable GDB builds for Windows a while ago when the MinGW builds
 where lacking scripting support and the whole process was a huge sink of
 ressources. I'd rather not repeat that, for various reasons.
 
 LLDB exposes a lot of its innards to its Python bindings in a 
 straight-forward
 manner, so it's really just cobbling a few things together. Really no
 rocket science. On side provides a full debugger, the other side needs
 a full debugger, missing are only (some of the) connections.
 
 Documentation could be a bit better (where not...), so one doesn't end up
 in dead ends too often, but in general it's a predictable and rewarding
 environment to work in. I'd rather spend energy moving forward than to
 maintain last year's status quo.
 
 Andre'
 
 Thanks all for the comments, I'm going to add my own 2 cents worth since I am 
 a glass is half empty kind of person but also a realist.
 
 OS X 10.9 Mavericks will most likely require Xcode 5. Based on History this 
 will probably hold true although I really hope I am wrong. Why? Because 
 without a viable debugger in QtCreator under Xcode 5 anyone upgrading to OS X 
 10.9 Mavericks will basically render QtCreator useless for Debugging. You can 
 still compile and run, just not debug. Now it sounds like QtCreator is 
 getting close to a release so the LLDB support will not be in there.

I don't know where you got that idea from even though André already mentioned 
that Qt Creator 2.8 already has *some* support for lldb.
And to put André's comment but I doubt we will have feature parity with 
GDB/Linux at 3.0 release time into perspective: GDB/Mac support never had 
feature parity with GDB/Linux either.

Br, Eike

 And the project needs some programmers to help write all the glue code and 
 then test everything. I'll bet this takes until next summer to get completed. 
 I'm not placing blame anywhere, just my opinion based on the comments in here 
 about finding the time to write the codes. So for those that are using 
 QtCreator but want to run the latest and greatest OS X you have 2 choices:
 
 1: Run OS X 10.9 but have NO debugger.
 2: Run OS X 10.8 and have a debugger.
 
 There are a few other possible options:
 1: The programmer can attempt to compile a newer GDB but from my googling 
 that seems to go nowhere and just does not work.
 2: Purchase a commercial debugger like Intels IDB which I thought was GDB 
 Compatible. Which makes me wonder if one can swap IDG for GDB and QtCreator 
 will know the difference? Comments on this idea?
 
 
 Thanks to all
 ---
 Mike Jackson
 
 ___
 Qt-creator mailing list
 Qt-creator@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Xcode 5 no longer has GDB included. Ramifications?

2013-09-20 Thread Michael Jackson

On Sep 19, 2013, at 5:35 PM, André Pönitz 
andre.poen...@mathematik.tu-chemnitz.de wrote:

 On Thu, Sep 19, 2013 at 01:19:13PM -0700, Jonathan S. Shapiro wrote:
 If GDB can support code coming from clang-llvm, perhaps a simpler interim
 solution would be to build and ship a copy of gdb in the OSX bundle for
 QtCreator?
 
 I don't really think that's a viable option, certainly not one that
 requires less work than bringing real LLDB support up to snuff. We used to
 ship usable GDB builds for Windows a while ago when the MinGW builds
 where lacking scripting support and the whole process was a huge sink of
 ressources. I'd rather not repeat that, for various reasons.
 
 LLDB exposes a lot of its innards to its Python bindings in a straight-forward
 manner, so it's really just cobbling a few things together. Really no
 rocket science. On side provides a full debugger, the other side needs
 a full debugger, missing are only (some of the) connections.
 
 Documentation could be a bit better (where not...), so one doesn't end up
 in dead ends too often, but in general it's a predictable and rewarding
 environment to work in. I'd rather spend energy moving forward than to
 maintain last year's status quo.
 
 Andre'

Thanks all for the comments, I'm going to add my own 2 cents worth since I am a 
glass is half empty kind of person but also a realist.

OS X 10.9 Mavericks will most likely require Xcode 5. Based on History this 
will probably hold true although I really hope I am wrong. Why? Because without 
a viable debugger in QtCreator under Xcode 5 anyone upgrading to OS X 10.9 
Mavericks will basically render QtCreator useless for Debugging. You can still 
compile and run, just not debug. Now it sounds like QtCreator is getting close 
to a release so the LLDB support will not be in there. And the project needs 
some programmers to help write all the glue code and then test everything. I'll 
bet this takes until next summer to get completed. I'm not placing blame 
anywhere, just my opinion based on the comments in here about finding the time 
to write the codes. So for those that are using QtCreator but want to run the 
latest and greatest OS X you have 2 choices:

1: Run OS X 10.9 but have NO debugger.
2: Run OS X 10.8 and have a debugger.

There are a few other possible options:
1: The programmer can attempt to compile a newer GDB but from my googling that 
seems to go nowhere and just does not work.
2: Purchase a commercial debugger like Intels IDB which I thought was GDB 
Compatible. Which makes me wonder if one can swap IDG for GDB and QtCreator 
will know the difference? Comments on this idea?


Thanks to all
---
Mike Jackson

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Xcode 5 no longer has GDB included. Ramifications?

2013-09-20 Thread Michael Jackson

On Sep 20, 2013, at 8:54 AM, Michael Jackson imikejack...@gmail.com wrote:

 
 On Sep 19, 2013, at 5:35 PM, André Pönitz 
 andre.poen...@mathematik.tu-chemnitz.de wrote:
 
 On Thu, Sep 19, 2013 at 01:19:13PM -0700, Jonathan S. Shapiro wrote:
 If GDB can support code coming from clang-llvm, perhaps a simpler interim
 solution would be to build and ship a copy of gdb in the OSX bundle for
 QtCreator?
 
 I don't really think that's a viable option, certainly not one that
 requires less work than bringing real LLDB support up to snuff. We used to
 ship usable GDB builds for Windows a while ago when the MinGW builds
 where lacking scripting support and the whole process was a huge sink of
 ressources. I'd rather not repeat that, for various reasons.
 
 LLDB exposes a lot of its innards to its Python bindings in a 
 straight-forward
 manner, so it's really just cobbling a few things together. Really no
 rocket science. On side provides a full debugger, the other side needs
 a full debugger, missing are only (some of the) connections.
 
 Documentation could be a bit better (where not...), so one doesn't end up
 in dead ends too often, but in general it's a predictable and rewarding
 environment to work in. I'd rather spend energy moving forward than to
 maintain last year's status quo.
 
 Andre'
 
 Thanks all for the comments, I'm going to add my own 2 cents worth since I am 
 a glass is half empty kind of person but also a realist.
 
 OS X 10.9 Mavericks will most likely require Xcode 5. Based on History this 
 will probably hold true although I really hope I am wrong. Why? Because 
 without a viable debugger in QtCreator under Xcode 5 anyone upgrading to OS X 
 10.9 Mavericks will basically render QtCreator useless for Debugging. You can 
 still compile and run, just not debug. Now it sounds like QtCreator is 
 getting close to a release so the LLDB support will not be in there. And the 
 project needs some programmers to help write all the glue code and then test 
 everything. I'll bet this takes until next summer to get completed. I'm not 
 placing blame anywhere, just my opinion based on the comments in here about 
 finding the time to write the codes. So for those that are using QtCreator 
 but want to run the latest and greatest OS X you have 2 choices:
 
 1: Run OS X 10.9 but have NO debugger.
 2: Run OS X 10.8 and have a debugger.
 
 There are a few other possible options:
 1: The programmer can attempt to compile a newer GDB but from my googling 
 that seems to go nowhere and just does not work.
 2: Purchase a commercial debugger like Intels IDB which I thought was GDB 
 Compatible. Which makes me wonder if one can swap IDG for GDB and QtCreator 
 will know the difference? Comments on this idea?
 
 
 Thanks to all
 ---
 Mike Jackson
 

I will answer some of my own questions. Based on 
http://software.intel.com/sites/default/files/article/407601/release-notes-c-2013sp1-m-en.pdf

One rather expensive solution is to purchase the intel compilers which come 
with GDB version 7.5.x and require python so it looks as if this would meet all 
the requirements that QtCreator needs. Do I *like* this solution? Nope. I think 
$800 USD for a compiler is a bit insane but then the windows side of the world 
seems to think this is OK, with respect to the price of Visual Studio Pro.

The release notes also mention that IDB is going to be deprecated in the 
future. What would be nice would be to get Intel to release just the GDB 
binaries then this mess would be solved, at least until the LLDB codes got up 
to snuff.

Cheers
-- 
Mike Jackson


___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Xcode 5 no longer has GDB included. Ramifications?

2013-09-20 Thread Konstantin Tokarev


20.09.2013, 16:54, Michael Jackson imikejack...@gmail.com:
 On Sep 19, 2013, at 5:35 PM, André Pönitz 
 andre.poen...@mathematik.tu-chemnitz.de wrote:

  On Thu, Sep 19, 2013 at 01:19:13PM -0700, Jonathan S. Shapiro wrote:
  If GDB can support code coming from clang-llvm, perhaps a simpler interim
  solution would be to build and ship a copy of gdb in the OSX bundle for
  QtCreator?
  I don't really think that's a viable option, certainly not one that
  requires less work than bringing real LLDB support up to snuff. We used to
  ship usable GDB builds for Windows a while ago when the MinGW builds
  where lacking scripting support and the whole process was a huge sink of
  ressources. I'd rather not repeat that, for various reasons.

  LLDB exposes a lot of its innards to its Python bindings in a 
 straight-forward
  manner, so it's really just cobbling a few things together. Really no
  rocket science. On side provides a full debugger, the other side needs
  a full debugger, missing are only (some of the) connections.

  Documentation could be a bit better (where not...), so one doesn't end up
  in dead ends too often, but in general it's a predictable and rewarding
  environment to work in. I'd rather spend energy moving forward than to
  maintain last year's status quo.

  Andre'

 Thanks all for the comments, I'm going to add my own 2 cents worth since I am 
 a glass is half empty kind of person but also a realist.

 OS X 10.9 Mavericks will most likely require Xcode 5. Based on History this 
 will probably hold true although I really hope I am wrong. Why? Because 
 without a viable debugger in QtCreator under Xcode 5 anyone upgrading to OS X 
 10.9 Mavericks will basically render QtCreator useless for Debugging. You can 
 still compile and run, just not debug. Now it sounds like QtCreator is 
 getting close to a release so the LLDB support will not be in there. And the 
 project needs some programmers to help write all the glue code and then test 
 everything. I'll bet this takes until next summer to get completed. I'm not 
 placing blame anywhere, just my opinion based on the comments in here about 
 finding the time to write the codes. So for those that are using QtCreator 
 but want to run the latest and greatest OS X you have 2 choices:

 1: Run OS X 10.9 but have NO debugger.
 2: Run OS X 10.8 and have a debugger.

 There are a few other possible options:
 1: The programmer can attempt to compile a newer GDB but from my googling 
 that seems to go nowhere and just does not work.

Use gentoo prefix, macports, or something like these.

 2: Purchase a commercial debugger like Intels IDB which I thought was GDB 
 Compatible. Which makes me wonder if one can swap IDG for GDB and QtCreator 
 will know the difference? Comments on this idea?

I doubt IDB support gdb-compatibly python API, so it probably won't be usable 
from within Creator.

-- 
Regards,
Konstantin
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Xcode 5 no longer has GDB included. Ramifications?

2013-09-19 Thread André Pönitz
On Thu, Sep 19, 2013 at 08:41:45AM -0400, Michael Jackson wrote:
 I was out at Apple's Developer ready to download and try out Xcode 5 and
 was looking through the release notes when I came across this little
 line:
 
 https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/
 WhatsNewXcode/Articles/xcode_5_0.html#//apple_ref/doc/uid/TP40012953-SW8
 
 * Important: Xcode 5 does not support use of the LLVM-GCC compiler
 and the GDB debugger. Existing projects configured to use LLVM-GCC and
 GDB will be reconfigured to use the LLVM compiler and LLDB debugger when
 opened by Xcode 5. Please file a bug using bugreporter.apple.com for any
 issues that prevent you from moving to Xcode 5 for this reason.  *
 
 Will QtCreator work with LLDB? Last I heard it does not. At least the
 2.8.2 version that I am using.

 Any updates/thoughts/embellishments on this would be great.

In theory, 2.8.2 has some experimental LLDB support covering basic
stepping, simple local start, populating most of the debugger views etc.

If it doesn't work _at all_ for you, please file a bug report, including
version of LLDB and a full debugger log. I am currently using some 179.5
version that came with earlier XCode, and a 300.0 build from source.

There's quite a couple of open issues related to not-yet-implemented
functionality already, and I intend to address a bit of that until 3.0
beta, but I doubt we will have feature parity with GDB/Linux at 3.0 release
time.

As usual, any help is welcome. Currently most pressing issues are mostly
grunt work, adding a few parameters here and there, stuff that's easy to
get started with, just needs to be done, but quite a bit of that ;-}

Andre'
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Xcode 5 no longer has GDB included. Ramifications?

2013-09-19 Thread Jonathan S. Shapiro
If GDB can support code coming from clang-llvm, perhaps a simpler interim
solution would be to build and ship a copy of gdb in the OSX bundle for
QtCreator?


On Thu, Sep 19, 2013 at 1:16 PM, André Pönitz 
andre.poen...@mathematik.tu-chemnitz.de wrote:

 On Thu, Sep 19, 2013 at 08:41:45AM -0400, Michael Jackson wrote:
  I was out at Apple's Developer ready to download and try out Xcode 5 and
  was looking through the release notes when I came across this little
  line:
 
 
 https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/
  WhatsNewXcode/Articles/xcode_5_0.html#//apple_ref/doc/uid/TP40012953-SW8
 
  * Important: Xcode 5 does not support use of the LLVM-GCC compiler
  and the GDB debugger. Existing projects configured to use LLVM-GCC and
  GDB will be reconfigured to use the LLVM compiler and LLDB debugger when
  opened by Xcode 5. Please file a bug using bugreporter.apple.com for any
  issues that prevent you from moving to Xcode 5 for this reason.  *
 
  Will QtCreator work with LLDB? Last I heard it does not. At least the
  2.8.2 version that I am using.
 
  Any updates/thoughts/embellishments on this would be great.

 In theory, 2.8.2 has some experimental LLDB support covering basic
 stepping, simple local start, populating most of the debugger views etc.

 If it doesn't work _at all_ for you, please file a bug report, including
 version of LLDB and a full debugger log. I am currently using some 179.5
 version that came with earlier XCode, and a 300.0 build from source.

 There's quite a couple of open issues related to not-yet-implemented
 functionality already, and I intend to address a bit of that until 3.0
 beta, but I doubt we will have feature parity with GDB/Linux at 3.0 release
 time.

 As usual, any help is welcome. Currently most pressing issues are mostly
 grunt work, adding a few parameters here and there, stuff that's easy to
 get started with, just needs to be done, but quite a bit of that ;-}

 Andre'
 ___
 Qt-creator mailing list
 Qt-creator@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Xcode 5 no longer has GDB included. Ramifications?

2013-09-19 Thread André Pönitz
On Thu, Sep 19, 2013 at 01:19:13PM -0700, Jonathan S. Shapiro wrote:
 If GDB can support code coming from clang-llvm, perhaps a simpler interim
 solution would be to build and ship a copy of gdb in the OSX bundle for
 QtCreator?

I don't really think that's a viable option, certainly not one that
requires less work than bringing real LLDB support up to snuff. We used to
ship usable GDB builds for Windows a while ago when the MinGW builds
where lacking scripting support and the whole process was a huge sink of
ressources. I'd rather not repeat that, for various reasons.

LLDB exposes a lot of its innards to its Python bindings in a straight-forward
manner, so it's really just cobbling a few things together. Really no
rocket science. On side provides a full debugger, the other side needs
a full debugger, missing are only (some of the) connections.

Documentation could be a bit better (where not...), so one doesn't end up
in dead ends too often, but in general it's a predictable and rewarding
environment to work in. I'd rather spend energy moving forward than to
maintain last year's status quo.

Andre'
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator