debugging

Debugger times out at “Collecting data…”

≯℡__Kan透↙ 提交于 2020-06-24 06:01:12
问题 I am debugging a Python ( 3.5 ) program with PyCharm ( PyCharm Community Edition 2016.2.2 ; Build #PC-162.1812.1, built on August 16, 2016 ; JRE: 1.8.0_76-release-b216 x86 ; JVM: OpenJDK Server VM by JetBrains s.r.o ) on Windows 10. The problem: when stopped at some breakpoints, the Debugger window is stuck at "Collecting data", which eventually timeout. (with Unable to display frame variables ) The data to be displayed is neither special, nor particularly large. It is somehow available to

Excel VBA debugger stops without error or warning

感情迁移 提交于 2020-06-23 14:16:06
问题 While trying to test some code, I am having an issue that I don't recall running into before. When I step through the code it halts after the ClearContents line...there is no error, no warning, nothing. Public Sub CreateCurMth(wsCur As Worksheet) Dim iData As Integer, iRow As Integer Dim wbData As Workbook On Error GoTo err_here iRow = wsCur.Cells(Rows.Count, 1).End(xlUp).Row wsCur.Range("A10:X" & iRow).ClearContents '<----- Fails after this line 'Assume that file is already open Set wbData =

Can I control the number of digits displayed in debugger windows for float and double variables?

末鹿安然 提交于 2020-06-22 13:43:09
问题 In Visual Studio 2012, I'm looking for a way to customize the default display of floating point types in the Autos, Locals, and Watch windows. I'm familiar with the Native Visualizer (Natvis) utility, but don't see any debugger formatting facilities to accomplish this. Likewise, I'm not aware of any means to override the default display of any primitive types (aside from enabling hex). The goal would be to create display strings with fewer digits expanded for types corresponding to points,

Can I control the number of digits displayed in debugger windows for float and double variables?

点点圈 提交于 2020-06-22 13:43:04
问题 In Visual Studio 2012, I'm looking for a way to customize the default display of floating point types in the Autos, Locals, and Watch windows. I'm familiar with the Native Visualizer (Natvis) utility, but don't see any debugger formatting facilities to accomplish this. Likewise, I'm not aware of any means to override the default display of any primitive types (aside from enabling hex). The goal would be to create display strings with fewer digits expanded for types corresponding to points,

How to solve common errors in Google Apps Script development [closed]

两盒软妹~` 提交于 2020-06-22 10:42:26
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 days ago . Improve this question The Q&A is currently a subject of meta discussion - please, do participate. Current plan is to split where possible (and no canonicals exist) into separate Q&As. The answer to the question is a community wiki and the question intended to become one when the

Step into subroutine call, but not calls made for parameters

别说谁变了你拦得住时间么 提交于 2020-06-17 09:20:53
问题 func(a(), b.c) When executing the line above in the pdb debugger, using step will actually step into a , and then into the getter for b.c if its atypical (such as being a property ), before actually stepping into func . Generally I find myself using step followed by r to return from the frames I'm not interested in, and often inexplicably pass over and miss the opportunity to step directly into func . How do I step directly into func , or what sequence of debugger commands will guarantee that

Visual studio 2019 causing slow debugging and high usage of memory

一世执手 提交于 2020-06-16 19:16:26
问题 After short time while debugging my project using breakpoints Visual studio 2019 Professional almost stops responding and slows down very much. From activity manager I noted an ever increasing memory usage that could be the cause. Debugging the same project using Visual Studio 2015 is instead very fast. Haven't tried 2017. I have checked "Enable just my code". My project is just plain C# without DB and Web. Thanks. 回答1: While debugging I realized that slow debugging was related to Diagnostic

Visual studio 2019 causing slow debugging and high usage of memory

橙三吉。 提交于 2020-06-16 19:16:06
问题 After short time while debugging my project using breakpoints Visual studio 2019 Professional almost stops responding and slows down very much. From activity manager I noted an ever increasing memory usage that could be the cause. Debugging the same project using Visual Studio 2015 is instead very fast. Haven't tried 2017. I have checked "Enable just my code". My project is just plain C# without DB and Web. Thanks. 回答1: While debugging I realized that slow debugging was related to Diagnostic

Programmatically get debug information

為{幸葍}努か 提交于 2020-06-16 05:59:30
问题 Using #include <execinfo.h> one can access methods for unwinding the stack, at least on a most linux configurations. However, this allows one to fetch a char * to some NTBS (null terminated byte string) which shows some information, but not all of it, especially not: file names line numbers function names I have written a bash-script which can deduce a line number and a file using objdump and the text address of the instruction, however its use is tedious as I have to copy paste the address

Programmatically get debug information

烈酒焚心 提交于 2020-06-16 05:59:11
问题 Using #include <execinfo.h> one can access methods for unwinding the stack, at least on a most linux configurations. However, this allows one to fetch a char * to some NTBS (null terminated byte string) which shows some information, but not all of it, especially not: file names line numbers function names I have written a bash-script which can deduce a line number and a file using objdump and the text address of the instruction, however its use is tedious as I have to copy paste the address