Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debugging code running in QJSEngine
QtWS25 Last Chance

Debugging code running in QJSEngine

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    Xicor
    wrote on last edited by
    #1

    I have some code that the user can input from a textEdit that is passed into the QJSEngine. How do i debug this code?

    I have seen comments on the changelog for qt that QJSEngine debugging is available through QtCreator and have seen some people saying 'just run your program through creator in debug mode', but even when i run through qtcreator debug mode, i just get the standard debugging, it doesnt know at all that i'm running QJSEngine code.

    It seems like noone on google actually knows how to debug QJSEngine. This is a major problem for those of us attempting to switch from the older QtScript to QJSEngine.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      emulyator
      wrote on last edited by
      #2

      "debugging for QJSEngine. The intention is to have a design that allows developers to write scriptable applications where scripts run in other threads, not the Qt GUI thread, so they could be debugged using dedicated Qt APIs. But this, again, is a quite distant possibility, no concrete plans for that."
      Current roadmap of Qt
      ((

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved