A methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thereby making it more reliable

learn more… | top users | synonyms

1
vote
1answer
87 views

Run C++ standalone application in debug mode

I write simple C++ standalone application using QGIS. It works and render vector layers from PostgeSQL database. #define CORE_EXPORT __declspec(dllimport) #define GUI_EXPORT __declspec(dllimport) ...
1
vote
1answer
113 views

Update Service config file with ArcIms java connector

We are using arcims java connector to create, update, delete services. it works fine for create and delete. However when we try to update the config file of service (ie : mxd file) the new mxd file is ...
0
votes
1answer
44 views

Debug QGIS crash on Windows 7 - how?

I'm developing a QGIS plugin, and under certain circumstances, it causes QGIS itself to crash. How can I debug this, given that I am on Windows 7? I've tried using the QGIS nightly dev build (which ...
0
votes
1answer
59 views

How to show QgsDebugMsg in eclipse PyDev

In the source code of QGIS, I see a lot of QgsDebugMsg line. What should I do in order to show it when debug/run my standalone application in Eclipse PyDev?
2
votes
0answers
60 views

Using pdb in QGIS console

I am unable to use pdb from qgis console. If I run a function that calls pdb.set_trace() I get the error Traceback (most recent call last): File "<input>", line 1, in <module> File ...
1
vote
0answers
57 views

How do I step into the C++ functions from an external Python app I'm debugging?

I just wanted to see how to step into the C++ class QgsVectorLayer()'s methods from the python call to QgsVectorLayer(self.uri.uri(),'foo','postgres'). I'm trying to debug and it trying to step into ...
0
votes
0answers
33 views

Using Eclipse/PyDev's debugger with ArcPy?

I have been using eclipse to help me write my scripts with arcpy and arcgis. I have been using add message in arcpy to help debug but that is very slow and doesn't always give me enough information. I ...
0
votes
0answers
30 views

When debugging ArcGIS add-in, can't use “Edit and Continue”

I've been working on this add-in for years, and just today set up a new computer with VS 2013 and ArcGIS 10.3. When I run my add-in from the debugger, breakpoints can be hit, but I can't edit when ...
0
votes
0answers
45 views

MapServer Not Logging to MS_ERRORFILE

I'm attempting to debug a 500 server error with my MapServer (running as a FastCGI on IIS 7.5). This would be much less challenging if I could get some indication of where the failure is happening, ...
0
votes
0answers
35 views

PythonWin Debugging

My question is theoretical. I want to debug my script in Pythonwin. Everything is OK when I run my script normally (without debugging) but if I am debugging it, my script fails when it tries to read a ...
0
votes
0answers
634 views

How to solve a Run-time error 91?

I have a function which a part shown below. The problem is that I get a Run-time error 91 (object variable or with variable not set) and the debug highlights the last line of the code ( Set ...
0
votes
0answers
696 views

ArcGIS Flex API: cannot addChild to infoWindow

This is driving me nuts. I am developing a Web App using ArcGIS Flex API, Flex SDK 4.5, and Flex Viewer 2.4. I add a bunch of point graphics to the map. Then on rollover I try to add a Flex ...