<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Qt debugging on yocto I (running on sabrelite) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292111#M35647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; I'm writing here to expose a question about QT debugging on yocto using sabreliteimx6 .I can run perfectly my application on my board using yocto (dylan). However when I try to debug my application and add an expression evaluator&lt;/P&gt;&lt;P&gt;( I want to see a variable value) the compiler logs tells me :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;484bb options:fancy,autoderef,dyntype vars:watch.4 expanded:return,local,watch,inspect typeformats: formats: watchers:772377617463682e332323692377617463682e3223236a2377617463682e3323236a3d332377617463682e312323612377617463682e34&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;amp;"bb options:fancy,autoderef,dyntype vars:watch.4 expanded:return,local,watch,inspect typeformats: formats: watchers:772377617463682e332323692377617463682e3223236a2377617463682e3323236a3d332377617463682e312323612377617463682e34\n"&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;amp;"Undefined command: \"bb\". Try \"help\".\n"&lt;/P&gt;&lt;P&gt;&amp;gt;484^error,msg="Undefined command: \"bb\". Try \"help\"."&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: #ffff00;"&gt;&lt;STRONG&gt;dDUMPER FAILED: 484^error,data={msg="Undefined command: \"bb\". Try \"help\"."}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; As you can see the GDB don't &lt;STRONG&gt;recognize bb&lt;/STRONG&gt; so if I type the command help&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;485help&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;amp;"help\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"List of classes of commands:\n\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"aliases -- Aliases of other commands\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"breakpoints -- Making program stop at certain points\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"data -- Examining data\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"files -- Specifying and examining files\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"internals -- Maintenance commands\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"obscure -- Obscure features\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"running -- Running the program\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"stack -- Examining the stack\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"status -- Status inquiries\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"support -- Support facilities\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"tracepoints -- Tracing of program execution without stopping the program\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"user-defined -- User-defined commands\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"\nType \"help\" followed by a class name for a list of commands in "&lt;/P&gt;&lt;P&gt;&amp;gt;~"that class.\nType \"help all\" for the list of all commands."&lt;/P&gt;&lt;P&gt;&amp;gt;~"\nType \"help\" followed by command name "&lt;/P&gt;&lt;P&gt;&amp;gt;~"for full documentation.\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"Type \"apropos word\" to search for commands related to \"word\".\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"Command name abbreviations are allowed if unambiguous.\n"&lt;/P&gt;&lt;P&gt;&amp;gt;485^done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see bb command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to fix it? Does anyone else have the same problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Sep 2013 11:52:00 GMT</pubDate>
    <dc:creator>diegogonzalez</dc:creator>
    <dc:date>2013-09-05T11:52:00Z</dc:date>
    <item>
      <title>Qt debugging on yocto I (running on sabrelite)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292111#M35647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; I'm writing here to expose a question about QT debugging on yocto using sabreliteimx6 .I can run perfectly my application on my board using yocto (dylan). However when I try to debug my application and add an expression evaluator&lt;/P&gt;&lt;P&gt;( I want to see a variable value) the compiler logs tells me :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;484bb options:fancy,autoderef,dyntype vars:watch.4 expanded:return,local,watch,inspect typeformats: formats: watchers:772377617463682e332323692377617463682e3223236a2377617463682e3323236a3d332377617463682e312323612377617463682e34&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;amp;"bb options:fancy,autoderef,dyntype vars:watch.4 expanded:return,local,watch,inspect typeformats: formats: watchers:772377617463682e332323692377617463682e3223236a2377617463682e3323236a3d332377617463682e312323612377617463682e34\n"&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;amp;"Undefined command: \"bb\". Try \"help\".\n"&lt;/P&gt;&lt;P&gt;&amp;gt;484^error,msg="Undefined command: \"bb\". Try \"help\"."&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: #ffff00;"&gt;&lt;STRONG&gt;dDUMPER FAILED: 484^error,data={msg="Undefined command: \"bb\". Try \"help\"."}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; As you can see the GDB don't &lt;STRONG&gt;recognize bb&lt;/STRONG&gt; so if I type the command help&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;485help&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;amp;"help\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"List of classes of commands:\n\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"aliases -- Aliases of other commands\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"breakpoints -- Making program stop at certain points\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"data -- Examining data\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"files -- Specifying and examining files\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"internals -- Maintenance commands\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"obscure -- Obscure features\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"running -- Running the program\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"stack -- Examining the stack\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"status -- Status inquiries\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"support -- Support facilities\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"tracepoints -- Tracing of program execution without stopping the program\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"user-defined -- User-defined commands\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"\nType \"help\" followed by a class name for a list of commands in "&lt;/P&gt;&lt;P&gt;&amp;gt;~"that class.\nType \"help all\" for the list of all commands."&lt;/P&gt;&lt;P&gt;&amp;gt;~"\nType \"help\" followed by command name "&lt;/P&gt;&lt;P&gt;&amp;gt;~"for full documentation.\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"Type \"apropos word\" to search for commands related to \"word\".\n"&lt;/P&gt;&lt;P&gt;&amp;gt;~"Command name abbreviations are allowed if unambiguous.\n"&lt;/P&gt;&lt;P&gt;&amp;gt;485^done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see bb command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to fix it? Does anyone else have the same problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 11:52:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292111#M35647</guid>
      <dc:creator>diegogonzalez</dc:creator>
      <dc:date>2013-09-05T11:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qt debugging on yocto I (running on sabrelite)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292112#M35648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand it, QT calls to * &lt;EM&gt;dumpers&lt;/EM&gt;* to visualize the variables and expressions. At last in my installation they seems to be executed through Python. I suppose the undefined bb is part of the dumper commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not pay attention to previous messages on Debbuger log window. Going back, looking before the bb error, there are previous errors related to dumpers and python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;amp;” File \”/opt/qt4/share/qtcreator/dumper/gbridge.py\”, line 9, in &amp;lt;module&amp;gt;\n”&lt;BR /&gt; &amp;gt;&amp;amp;” import subprocess\n”&lt;BR /&gt; &amp;gt;&amp;amp;“ImportError: No module named subprocess\n”&lt;BR /&gt; &amp;gt;&amp;amp;“Error while executing Python code.\n”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, We went to pythonland. Here, that is Ubuntu 12.04. Python version 2.7.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I execute execfile(’/opt/qt4/share/qtcreator/dumper/gbridge.py’) inside python from a terminal window, it detects subprocess module without problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I add a “print sys.version_info” as an additional start debugger command at QtCreator, it shows me: python 2.7.3&lt;/P&gt;&lt;P&gt;For that printing, I added a 'import sys' commando that worked. If I add a 'import subprocces'' ... it is not found 8:|&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why &lt;SPAN class="caps"&gt;QTC&lt;/SPAN&gt;reator python execute does not find subprocess module?&lt;/P&gt;&lt;P&gt;Where is it being disabled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 12:10:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292112#M35648</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2013-09-09T12:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Qt debugging on yocto I (running on sabrelite)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292113#M35649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found:we have two pythonlands 8:(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;environment-setup-armv7a-vfp-neon-poky-linux-gnueab redirects PYTHONHOME to a not full-version python 2.7 compiled through meta-toolchain-qt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next step: how to compile a complete python from meta-toolchain-qt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 14:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292113#M35649</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2013-09-09T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qt debugging on yocto I (running on sabrelite)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292114#M35650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solved&amp;nbsp; adding the line:&lt;/P&gt;&lt;P&gt;TOOLCHAIN_HOST_TASK_append = " nativesdk-python-subprocess"&amp;nbsp; &lt;/P&gt;&lt;P&gt;in build/conf/local.conf from Yocto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That adds the module subprocess to python used by QTcreator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 18:50:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-debugging-on-yocto-I-running-on-sabrelite/m-p/292114#M35650</guid>
      <dc:creator>controlhorus</dc:creator>
      <dc:date>2013-09-09T18:50:43Z</dc:date>
    </item>
  </channel>
</rss>

