practicing lldb python programming without xcode or mac












-3















I would like to practice debugging in lldb, especially how to use python scripts with lldb for viewing contents of variables of a C program, but I don't have access to Xcode or an Apple computer. Is it still possible to run lldb and practice it's python scripting? Searching for lldb download takes me here and it doesn't look like there is a windows installer available.



Am I going about this the right way, or is it impossible to practice lldb and it's python scripting without an Apple computer?



The target computer is Windows 7 32 bit.










share|improve this question



























    -3















    I would like to practice debugging in lldb, especially how to use python scripts with lldb for viewing contents of variables of a C program, but I don't have access to Xcode or an Apple computer. Is it still possible to run lldb and practice it's python scripting? Searching for lldb download takes me here and it doesn't look like there is a windows installer available.



    Am I going about this the right way, or is it impossible to practice lldb and it's python scripting without an Apple computer?



    The target computer is Windows 7 32 bit.










    share|improve this question

























      -3












      -3








      -3








      I would like to practice debugging in lldb, especially how to use python scripts with lldb for viewing contents of variables of a C program, but I don't have access to Xcode or an Apple computer. Is it still possible to run lldb and practice it's python scripting? Searching for lldb download takes me here and it doesn't look like there is a windows installer available.



      Am I going about this the right way, or is it impossible to practice lldb and it's python scripting without an Apple computer?



      The target computer is Windows 7 32 bit.










      share|improve this question














      I would like to practice debugging in lldb, especially how to use python scripts with lldb for viewing contents of variables of a C program, but I don't have access to Xcode or an Apple computer. Is it still possible to run lldb and practice it's python scripting? Searching for lldb download takes me here and it doesn't look like there is a windows installer available.



      Am I going about this the right way, or is it impossible to practice lldb and it's python scripting without an Apple computer?



      The target computer is Windows 7 32 bit.







      python windows lldb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 16 '18 at 8:22









      user13267user13267

      2,744185894




      2,744185894
























          2 Answers
          2






          active

          oldest

          votes


















          0














          I would suggest you run a Linux VM which makes it easy to work with LLVM in general and lldb in particular.






          share|improve this answer
























          • I was hoping if there was a way to do it without using VM's.

            – user13267
            Nov 16 '18 at 8:30











          • If you haven’t found a way, it might be time thinking about your constraints and which you can relax. Using a VM is easy, and free. And makes no discernible difference as in both environments you won’t get Xcode like GUI integration.

            – deets
            Nov 16 '18 at 8:37



















          -1














          I develop on Mac but found this post on the LLVM website, perhaps it may be useful to you.
          http://blog.llvm.org/2015/01/lldb-is-coming-to-windows.html



          edit: researching more, it's (maybe) still under development...
          https://lldb.llvm.org/status.html (the first post is almost 4 years old)






          share|improve this answer


























          • Hi thanks for the answer. If you don't mind could you please have a look at my other question as well, in case you have some ideas on it?

            – user13267
            Nov 16 '18 at 8:28













          • Python on windows gives me a headache. I have never used LLVM on windows at all, so I really can't guess as to the difficulty.

            – jtwilson
            Nov 16 '18 at 8:46











          • Sorry I forgot to link my other question. This is the other question I was talking about: stackoverflow.com/questions/53331618/… . It's actually not about windows. It's about the python scripting in lldb in xcode on mac. I need to find out how to display an array's elements, without any formatting (formatting such as the array indices displayed by default by the expression command)

            – user13267
            Nov 16 '18 at 8:51











          • I figured it was a more general question and is probably easy for someone who as experience with python on lldb

            – user13267
            Nov 16 '18 at 8:52











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53333947%2fpracticing-lldb-python-programming-without-xcode-or-mac%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          I would suggest you run a Linux VM which makes it easy to work with LLVM in general and lldb in particular.






          share|improve this answer
























          • I was hoping if there was a way to do it without using VM's.

            – user13267
            Nov 16 '18 at 8:30











          • If you haven’t found a way, it might be time thinking about your constraints and which you can relax. Using a VM is easy, and free. And makes no discernible difference as in both environments you won’t get Xcode like GUI integration.

            – deets
            Nov 16 '18 at 8:37
















          0














          I would suggest you run a Linux VM which makes it easy to work with LLVM in general and lldb in particular.






          share|improve this answer
























          • I was hoping if there was a way to do it without using VM's.

            – user13267
            Nov 16 '18 at 8:30











          • If you haven’t found a way, it might be time thinking about your constraints and which you can relax. Using a VM is easy, and free. And makes no discernible difference as in both environments you won’t get Xcode like GUI integration.

            – deets
            Nov 16 '18 at 8:37














          0












          0








          0







          I would suggest you run a Linux VM which makes it easy to work with LLVM in general and lldb in particular.






          share|improve this answer













          I would suggest you run a Linux VM which makes it easy to work with LLVM in general and lldb in particular.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 16 '18 at 8:29









          deetsdeets

          5,1612224




          5,1612224













          • I was hoping if there was a way to do it without using VM's.

            – user13267
            Nov 16 '18 at 8:30











          • If you haven’t found a way, it might be time thinking about your constraints and which you can relax. Using a VM is easy, and free. And makes no discernible difference as in both environments you won’t get Xcode like GUI integration.

            – deets
            Nov 16 '18 at 8:37



















          • I was hoping if there was a way to do it without using VM's.

            – user13267
            Nov 16 '18 at 8:30











          • If you haven’t found a way, it might be time thinking about your constraints and which you can relax. Using a VM is easy, and free. And makes no discernible difference as in both environments you won’t get Xcode like GUI integration.

            – deets
            Nov 16 '18 at 8:37

















          I was hoping if there was a way to do it without using VM's.

          – user13267
          Nov 16 '18 at 8:30





          I was hoping if there was a way to do it without using VM's.

          – user13267
          Nov 16 '18 at 8:30













          If you haven’t found a way, it might be time thinking about your constraints and which you can relax. Using a VM is easy, and free. And makes no discernible difference as in both environments you won’t get Xcode like GUI integration.

          – deets
          Nov 16 '18 at 8:37





          If you haven’t found a way, it might be time thinking about your constraints and which you can relax. Using a VM is easy, and free. And makes no discernible difference as in both environments you won’t get Xcode like GUI integration.

          – deets
          Nov 16 '18 at 8:37













          -1














          I develop on Mac but found this post on the LLVM website, perhaps it may be useful to you.
          http://blog.llvm.org/2015/01/lldb-is-coming-to-windows.html



          edit: researching more, it's (maybe) still under development...
          https://lldb.llvm.org/status.html (the first post is almost 4 years old)






          share|improve this answer


























          • Hi thanks for the answer. If you don't mind could you please have a look at my other question as well, in case you have some ideas on it?

            – user13267
            Nov 16 '18 at 8:28













          • Python on windows gives me a headache. I have never used LLVM on windows at all, so I really can't guess as to the difficulty.

            – jtwilson
            Nov 16 '18 at 8:46











          • Sorry I forgot to link my other question. This is the other question I was talking about: stackoverflow.com/questions/53331618/… . It's actually not about windows. It's about the python scripting in lldb in xcode on mac. I need to find out how to display an array's elements, without any formatting (formatting such as the array indices displayed by default by the expression command)

            – user13267
            Nov 16 '18 at 8:51











          • I figured it was a more general question and is probably easy for someone who as experience with python on lldb

            – user13267
            Nov 16 '18 at 8:52
















          -1














          I develop on Mac but found this post on the LLVM website, perhaps it may be useful to you.
          http://blog.llvm.org/2015/01/lldb-is-coming-to-windows.html



          edit: researching more, it's (maybe) still under development...
          https://lldb.llvm.org/status.html (the first post is almost 4 years old)






          share|improve this answer


























          • Hi thanks for the answer. If you don't mind could you please have a look at my other question as well, in case you have some ideas on it?

            – user13267
            Nov 16 '18 at 8:28













          • Python on windows gives me a headache. I have never used LLVM on windows at all, so I really can't guess as to the difficulty.

            – jtwilson
            Nov 16 '18 at 8:46











          • Sorry I forgot to link my other question. This is the other question I was talking about: stackoverflow.com/questions/53331618/… . It's actually not about windows. It's about the python scripting in lldb in xcode on mac. I need to find out how to display an array's elements, without any formatting (formatting such as the array indices displayed by default by the expression command)

            – user13267
            Nov 16 '18 at 8:51











          • I figured it was a more general question and is probably easy for someone who as experience with python on lldb

            – user13267
            Nov 16 '18 at 8:52














          -1












          -1








          -1







          I develop on Mac but found this post on the LLVM website, perhaps it may be useful to you.
          http://blog.llvm.org/2015/01/lldb-is-coming-to-windows.html



          edit: researching more, it's (maybe) still under development...
          https://lldb.llvm.org/status.html (the first post is almost 4 years old)






          share|improve this answer















          I develop on Mac but found this post on the LLVM website, perhaps it may be useful to you.
          http://blog.llvm.org/2015/01/lldb-is-coming-to-windows.html



          edit: researching more, it's (maybe) still under development...
          https://lldb.llvm.org/status.html (the first post is almost 4 years old)







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 16 '18 at 8:45

























          answered Nov 16 '18 at 8:26









          jtwilsonjtwilson

          447




          447













          • Hi thanks for the answer. If you don't mind could you please have a look at my other question as well, in case you have some ideas on it?

            – user13267
            Nov 16 '18 at 8:28













          • Python on windows gives me a headache. I have never used LLVM on windows at all, so I really can't guess as to the difficulty.

            – jtwilson
            Nov 16 '18 at 8:46











          • Sorry I forgot to link my other question. This is the other question I was talking about: stackoverflow.com/questions/53331618/… . It's actually not about windows. It's about the python scripting in lldb in xcode on mac. I need to find out how to display an array's elements, without any formatting (formatting such as the array indices displayed by default by the expression command)

            – user13267
            Nov 16 '18 at 8:51











          • I figured it was a more general question and is probably easy for someone who as experience with python on lldb

            – user13267
            Nov 16 '18 at 8:52



















          • Hi thanks for the answer. If you don't mind could you please have a look at my other question as well, in case you have some ideas on it?

            – user13267
            Nov 16 '18 at 8:28













          • Python on windows gives me a headache. I have never used LLVM on windows at all, so I really can't guess as to the difficulty.

            – jtwilson
            Nov 16 '18 at 8:46











          • Sorry I forgot to link my other question. This is the other question I was talking about: stackoverflow.com/questions/53331618/… . It's actually not about windows. It's about the python scripting in lldb in xcode on mac. I need to find out how to display an array's elements, without any formatting (formatting such as the array indices displayed by default by the expression command)

            – user13267
            Nov 16 '18 at 8:51











          • I figured it was a more general question and is probably easy for someone who as experience with python on lldb

            – user13267
            Nov 16 '18 at 8:52

















          Hi thanks for the answer. If you don't mind could you please have a look at my other question as well, in case you have some ideas on it?

          – user13267
          Nov 16 '18 at 8:28







          Hi thanks for the answer. If you don't mind could you please have a look at my other question as well, in case you have some ideas on it?

          – user13267
          Nov 16 '18 at 8:28















          Python on windows gives me a headache. I have never used LLVM on windows at all, so I really can't guess as to the difficulty.

          – jtwilson
          Nov 16 '18 at 8:46





          Python on windows gives me a headache. I have never used LLVM on windows at all, so I really can't guess as to the difficulty.

          – jtwilson
          Nov 16 '18 at 8:46













          Sorry I forgot to link my other question. This is the other question I was talking about: stackoverflow.com/questions/53331618/… . It's actually not about windows. It's about the python scripting in lldb in xcode on mac. I need to find out how to display an array's elements, without any formatting (formatting such as the array indices displayed by default by the expression command)

          – user13267
          Nov 16 '18 at 8:51





          Sorry I forgot to link my other question. This is the other question I was talking about: stackoverflow.com/questions/53331618/… . It's actually not about windows. It's about the python scripting in lldb in xcode on mac. I need to find out how to display an array's elements, without any formatting (formatting such as the array indices displayed by default by the expression command)

          – user13267
          Nov 16 '18 at 8:51













          I figured it was a more general question and is probably easy for someone who as experience with python on lldb

          – user13267
          Nov 16 '18 at 8:52





          I figured it was a more general question and is probably easy for someone who as experience with python on lldb

          – user13267
          Nov 16 '18 at 8:52


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53333947%2fpracticing-lldb-python-programming-without-xcode-or-mac%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Xamarin.iOS Cant Deploy on Iphone

          Glorious Revolution

          Dulmage-Mendelsohn matrix decomposition in Python