40 questions
0
votes
1
answer
41
views
Script debugging and Entra ID (B2C) can't both be on at the same time
I have a Visual Studio ASP.NET Core MVC app with lots of Javascript / TypeScript that I need to debug. Up to now, I have been successfully using the Script Debugging feature.
I have now incorporated ...
0
votes
2
answers
551
views
How do I turn off script debugging?
I have created an executable jar file to run on chrome. However, since the past few releases, I am getting a script debugging pop-up. This doesn't essentially look like a code error. However, I would ...
1
vote
0
answers
30
views
Nooby Question/Concern about Python not working on Sublime 3
I've made a new python build system and inserted the following code into the build:
{
"cmd": ["C:\\Users\\Perez\\AppData\\Local\\Programs\\Python\\Python37-32", "-u", "$file"],
"file_regex": "^[ ]*...
-3
votes
1
answer
66
views
JMeter Script Development
Can I use Blazemeter extension for script recording. It's says free version. I know it's free and easy to record but at the same time i don't want to take any risks in future as well. Please suggest ...
0
votes
1
answer
168
views
Recursively search javascript Global Execution Context
I'd like to do this in Chrome Developer Tools, but I'd take anything at this point.
The question
If I know I am looking for a specific object, how can I search the entire JS hierarchy to find it?
...
1
vote
1
answer
991
views
PowerShell ISE: Debug another power-shell script called from a power-shell script
I wants to debug a power-shell script which is called from my Main power-shell script using PowerShell ISE. Below is the sample code of my Main script.
$myLog = "$scriptPath\BuildRelease\logs\LaLogs....
5
votes
1
answer
1k
views
Is there a way to have real time stack trace in PHP with apache?
Here's my problem: I have to debug a Wordpress theme with a lot of dependencies (that I don't know) and no documentation/comments because I need to edit it by adding some features.
So the question is:...
8
votes
1
answer
8k
views
javascript debugging gets into VM**** file how to blackbox these files? [duplicate]
When debugging JS using chrome development tool, while using step into next function(ctrl + ;). I'm getting into file names like VM****. Is there a way to get rid of this?
1
vote
3
answers
74
views
Issues formatting a new file in python
So I am pretty new to python ( and coding in general ) and I could use some serious help finding the problem in my code.
Basically, I am opening a file that contains any number of students name ...
5
votes
2
answers
9k
views
Debugging an AutoIt script or get currently executed script line number
My AutoIt script sends a list of clicks and key-presses to automate an old closed source application.
It has bugs so I want to know how I can debug AutoIt scripts. Or at least output the script's ...
0
votes
3
answers
320
views
How do I debug JQuery-BootGrid data api to NancyFX
Question edited:
I wrote a page with jquery-bootgrid data API.
Its should be calling with AJAX to my NancyFX REST API, but it isn't.
Client side:
I'm serving the bootgrid from a local repo:
&...
1
vote
1
answer
929
views
How to attach web project to process "MicrosoftEdgeCP.exe" (Microsoft Edge) automatically on start debugging in Visual Studio 2015
as I just updated to Windows 10 and Visual Studio 2015, I am facing the problem described in this Question and correctly answered by Shaun Luttin.
In addition to that question I want to ask how this ...
3
votes
5
answers
4k
views
Perl Debugging Using Flags
So my goal is to find an easy way to turn on print statements in Perl using a flag. In C/C++ you can use a #define to choose if certain code is run and it is a way to turn on and off debug print ...
-1
votes
1
answer
376
views
Python: Can't find unicode field causing bson.errors.InvalidDocument during mongo insert
I am using pymongo to insert a complex structure as a row in a collection. The structure is a dict of list of dicts of lists of dicts etc..
Is there a way to find which field is unicode instead of ...
6
votes
1
answer
9k
views
How to turn on Pause On Uncaught Exceptions in Google Chrome Canary?
In this article it talks about turning on pausing on uncaught exceptions.
https://developer.chrome.com/devtools/docs/javascript-debugging
I can only see Pause On Caught Exceptions in both Chrome and ...
0
votes
2
answers
733
views
How to add a watcher to a variable declared in anonymous function in Chrome debugger?
My javascript code is encapsulated in an immediately invoked function like this :
(function($){
var myVar;
... Some code
})(jquery)
I want to watch the variable myVar using Chrome debugger.
...
0
votes
1
answer
60
views
Breakpoints not hitting in Chrome v33.0.1750.154
I am using the Chrome v33.0.1750.154, and I am not able to debug javascript in the debugger/scripts windows; although I am able to set/enable/disable breakpoints. This happens only for JS file on our ...
1
vote
2
answers
2k
views
debugging not working in javaScript code, in asp .net MVC4 application
I am building an application in asp .net MVC4 and I face a problem while debugging javaScript code, and I found this error on my breakpoint,
"The breakpoint will not currently be hit. No symbols have ...
2
votes
3
answers
2k
views
JavaScript IDE/Compiler
Now, I hope some of you people will understand what I'm asking. I'm new to programming. I got introduced to JavaScript on Codecademy.com
I use labs.codecademy.com for my JavaScript writing, but it's ...
0
votes
1
answer
54
views
See which functions of a chrome extension are being called
I'm trying to understand the code of a chrome extension I did not write. This extension is active the entire time and working in background. Now I'd like to see which functions are being called on the ...
1
vote
1
answer
190
views
How to debug or log ASP.net pages
First off I am not a programmer or else I should probably know how to do this already. I have a situation where I am receiving an MS Jscript runtime 800a1391 indicating whereClause is undefined. I ...
7
votes
1
answer
1k
views
Powershell "Set-PSDebug -Trace 2" causes unexpected results
I'm having a weird problem where I get different behavior when setting "Set-PSDebug -Trace 2".
I traced it down to a switch statement not executing properly and was able to reproduce it on Powershell ...
0
votes
1
answer
645
views
jQuery v1.8.3 creating error in ie 8 and ie 7 "Unexpected call to method or property access."
In ie8 i am facing the problem in popup due to this line in jquery v1.8.3
this.insertBefore( elem, this.firstChild );
Here is the function
prepend: function() {
return this.domManip(...
1
vote
2
answers
2k
views
Javascript breakpoint on user event
When I click a button in my app a series of Javascript code is executed, in this particular case, I click on a "Cancel" button to close the currently open modal window. This close button looks like ...
0
votes
3
answers
304
views
IE Fixes - Conditional Comment Script will not execute
I'm trying to build a website. I have it displaying correctly in every browser except IE versions 8 and lower. IE renders blue boxes around my img's that are also anchors. I can get rid of this by ...
8
votes
2
answers
2k
views
debugging a shared library wrapped by SWIG in perl
I have wrapped my C/C++ code using SWIG in Perl. I have few segmentation fault because of the wrapped code. I am trying to use ddd with the Perl script but unfortunately even if I set a breakpoint on ...
6
votes
2
answers
4k
views
Line and column in Javascript Error event attributes
I've decided that there are some errors which I don't want to go to the browser error handler. But I still want to know about them. In my actual code I have a function which stores the errors in a ...
3
votes
1
answer
700
views
Firebug 1.6 doesn't show me JS errors
I am working in local and I just updated firebug to the new version. Before the update whatever error that I was making with js, firebug was showing me on which line wasn't working the code (so I ...
463
votes
7
answers
216k
views
How to search all loaded scripts in Chrome Developer Tools?
In Firebug, you can search some text and it will look for it in all scripts loaded on a page. Can the same be done in Chrome Developer tools while debugging client script? I tried it, but it seems to ...
15
votes
6
answers
6k
views
Debugging Python within Ableton Live
How can I see script errors for my python MIDI Remote Scripts in Ableton Live? I've seen references online to a hidden Python console, but no documentation on how to open it, if it would even help me!...
0
votes
1
answer
127
views
Using debug versions of YUI2 components in YUI3
I am using YUI 2 components in YUI3 using the standard way YAHOO has provided to get accesss to the YAHOO namespace.
However when YUI3 loads the yui2 components it loads teh min version which is no ...
1
vote
4
answers
317
views
How to substitute a content of certain javascript reference with local script for debugging?
I need to debug jasvascript loaded by page. Loaded page are not locally placed.
Loaded js is packed. I want to substitute it with unpacked version.
Is there any tricks or browser options to make it?
9
votes
5
answers
78k
views
KornShell - Set "-x" (debug) flag globally?
Is there a way to set the debug mode (set -x) on a KornShell (ksh) script globally? Currently it seems I have do something like the following:
a(){
set -x
#commands
}
b(){
set -x
#more ...
103
votes
5
answers
71k
views
PowerShell "echo on"
This is a duplicate of https://serverfault.com/questions/102098/powershell-script-showing-commands-run. I thought it would be more appropriate to ask this question here.
I am playing around with ...
1
vote
3
answers
860
views
Microsoft Script Debugger does not display any information after error
I'm trying to debug a Javascript error which only occurs in Internet Explorer. I have Microsoft Script Debugger installed, and have used it successfully in the past. On this error, though, I select "...
12
votes
2
answers
18k
views
How do I check if the python debug option is set from within a script
If I'm in debug mode, I want to do other stuff than when I'm not.
if DEBUG:
STORED_DATA_FILE = os.path.join(TEMP_DIR, 'store.dat')
LOG_LEVEL = logging.DEBUG
print "debug mode"
else:
...
3
votes
3
answers
3k
views
Debug PHP scripts using Eclipse
I've been using Eclipse 3.4.2 with PHPEclipse and Zend Debugger for some time without issue. Suddenly, I cannot debug the PHP scripts. I can run them fine but when I select Debug As... the script ...
44
votes
4
answers
50k
views
Google Chrome Javascript Debugger and Content Scripts
This question has been asked similarly before, but I can't seem to debug Javascript in Google Chrome.
If I go to Page > Developer the "Debug Javascript" (Ctrl+Shift+L) is disabled. Alt + ` doesn't ...
7
votes
11
answers
9k
views
How Do I Shut Off Visual Studio 2008 Script Debugging
If I launch an ASP.NET project, using Visual Studio 2008 and Internet Explorer, Visual Studio starts script debugging. I get a Script Documents node with a child node of Windows Internet Explorer and ...
38
votes
11
answers
24k
views
Firebug - Breakpoint doesn't hit
I am setting breakpoints in an external JS file and I haven't been able to get Firebug hit the breakpoint in a consistent way. It works sometimes but most of the times it doesn't. The only way I can ...