Not sure if this is helpful, let's go down the rabbit hole. First we need to know what's happening when you call the function in SQL. To do this we reference the output of \dS+. \dS+ shows the override table with one entry for every function and prototype, as well as the function that it is dispatching to.
You're calling ST_Distance($1::geog,$2::geog).
You're right, it is a debugging setting. It can be handy for troubleshooting labeling issues.
It's next to the pull-down for the labeling list so you may have activated it by mistake. In my version, you have to specifically check on "show candidates" to enable this; perhaps in your version this is checked by default, so dismissing the dialog with OK ...
It seems there is no easy way to do this in QGis, so I solved it by adding a simple proxy, Python Logging Proxy which "does what it says on the can".
I modified the file LoggingProxyHTTPHandler.py to comment out line 105
since I didn't need to see the "contents" of the images being sent back. Then to run the proxy all you do is
instead of this
Hope it works...
As already suggested by user30184:
Go in the global settings and switch the logging level to GEOTOOLS_DEVELOPER_LOGGING, see http://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#config-globalsettings
Look in the logs for details about the queries being run, either directly on $GEOSERVER_DATA_DIR/logs/geoserver.log or from the web UI, "...
When it comes to js libraries like OpenLayers, first make sure you have the uncompressed version for development. When some error occurs, you can find the source file and the code line the defect originates in ...
To help with debugging you should use the non-minified version of the libraries when developing and ...
You'll find it MUCH easier to debug under Linux. You could:
setup a virtual machine running a linux distro. I'd suggest Ubuntu as it's easy to get the dependencies installed
setup a built environment using QtCreator. Instructions are in the CODING file in the QGIS source (or they can be viewed on online here: https://htmlpreview.github.io/?https://raw....
I suggest you to add "C:/eclipse/plugins/org.python.pydev_126.96.36.199502050007/pysrc" to the pythonpath in Settings->Options->System->Envoronment".
and then call in the python console:
from pydevd import *
in this way you don't have to setup ...
QGIS has a page Bug/Issues Page.
QGIS is a largely volunteer driven project, and is the work of a dedicated team of developers, documenters, translators and supporters. Despite the efforts of the team to release QGIS without bugs, there may remain some bugs. If you find a bug or want new features to be added, please report it!
Plugin bugs ...
Upgrading my initial comment to an answer:
I had a similar problem with ArcMap 10.3 in combination with Visual Studio 2013. I found all the same posts that @michael-miles-stimson mentioned, and indeed, at one point I could actually debug and hit a breakpoint. But for some reason that stopped working after a while, and there was no way I could get it to work ...
For QGIS 3.6 and up
For QGIS 3.6 and more recent versions, there is a useful plugin called
QGIS Network Logger, developed by Richard Duivenvoorde.
It is much easier to check the requests sent out by QGIS (sent via the QgsNetworkAccessManager).
Your example is asking for a client-side operation (+) with inputs that are a client side object (5) and a server-side object (accumNum). Because of this mix, the result concatenates the client side object and the definition of server-side object (i.e. the part starting with ee.Number)
Instead, you can specify that the computation is done server-side by ...
I find this happens sometimes if I launch QGIS twice by mistake (easily done in Ubuntu). Sometimes I launch QGIS and nothing seems to happen, so I try launching it again. The two copies of QGIS step on each others toes, which will give you that error message.
You can also download and debug the source code from Git repository. I personally looked up the function definitions by debugging the source code in Visual Studio and viewing the collaboration diagrams available at http://postgis.net/docs/doxygen/2.1/annotated.html
Whilst cleansing I noticed that addins for ArcCatalog are copied to
ArcMap addins are not
Actually Arcmap Addins are copied to that location after installation too(or a Build in Visual studio).
To solve this problem try these steps:
Clean your whole Solution in visual studio by right ...
Ok, I just verified I am able to step through code using this process. I am doing this in ArcMap, but I think it should apply to ArcCatalog since the process deals with debugging DLLs and not an ESRI specific item. I confirmed this in both ArcMap 10.2.2 and ArcCatalog 10.2.2. As this is a Windows process dealing with DLLs directly, ESRI software versions ...
I received an answer by Robert Scheitlin, one of ESRI's main WAB experts:
I develop widget all the time and I never use that from the guide.
Here is my workflow:
So, do I have any better options for setting page debugging than app edit > widgets?
Not that I have found.
Later, Robert ...
1) Use psql in the command line instead of loading with the SQL editor.
2) If you're using Windows and not logged in as postgres, add the -U flag to: psql -d postgis_in_action -U postgres -f ..path/ch11_data.sql -- for some reason, the username is not being picked up from the pgpass.conf file.
This is a file I built up over a couple of years wrangling with ArcMap & ArcCatalog extensions & then Add-Ins:
Things that can prevent ArcMap from debugging Add-ins in Visual Studio:
Release mode rather than Debug mode (if using old non-Add-in approach this can be a problem because most likely the \bin\Debug dll was registered with regasm, not \bin\...
as the compiler says, you have to construct the QApplication first. Instead of:
QgsApplication a(argc, argv, true);
you have to construct the QAPPLICATION
QApplication a(argc, argv, true);
I´m pretty shure, thats it.
What do you mean for "show messages in eclipse-pydev"?
Generally speaking, as you can see in the code, QgsDebugMsg is a define tat use QgsLogger, QgsLogger documentation says:
that you can use QGIS_DEBUG (level 0,1,2,3) and QGIS_DEBUG_FILE env vars to generate log file
To the question, Can anybody see anything wrong with how I've set up my settings.csv or data.csv?
The files settings.csv or data.csv are easy to be generated by Excel macros file StatPlanet_data_editor.xlsm of StatPlanet plus. I am remembering manually edited files are always returning error for my case.
I found another problem in shape file provided along ...
Most of what you are asking for is not really feasible or applicable to ModelBuilder. Either it works or it doesn't. Sometimes you get useful error messages, other times you just have to tweak things, futz around, send in bug reports, stand on one leg, make ritual sacrifices to the ModelBuilder gods, etc.
There are a couple of useful "debugging" tips I ...