debugging

Eclipse Mac OS X Debug Error: “FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)”

不问归期 提交于 2019-12-30 06:26:31
问题 ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750] FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) OS: Mac OS X 10.10.2 MacBook Pro with Retina Display java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM

Debug JavaScript within IE6 [closed]

佐手、 提交于 2019-12-30 06:26:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm looking for a tool that will enable me to debug JavaScript within IE6. What I mean is that I would like the debugger to run within the browser, a là Firebug. So far I've tried: DebugBar; Companion JS; Firebug Lite. However, I can't figure out how to set breakpoints, step through the code, add watches, etc.

What's an easy way to see what AJAX calls are being made?

一曲冷凌霜 提交于 2019-12-30 06:17:49
问题 I'm looking for something (preferably a Firefox extension) which will allow me to see all AJAX subrequests. Basically, anytime an XMLHTTPRequest() is made, I want to know what URL was being requested and what (if any) GET and POST vars were passed along with it. Unless I'm missing it, I don't see anything quite like this in Firebug or Web Developer Toolbar. (In case you're curious, the main reason for wanting this is that I want to scrape a local copy of a site that is using JS to load all

What's an easy way to see what AJAX calls are being made?

做~自己de王妃 提交于 2019-12-30 06:17:46
问题 I'm looking for something (preferably a Firefox extension) which will allow me to see all AJAX subrequests. Basically, anytime an XMLHTTPRequest() is made, I want to know what URL was being requested and what (if any) GET and POST vars were passed along with it. Unless I'm missing it, I don't see anything quite like this in Firebug or Web Developer Toolbar. (In case you're curious, the main reason for wanting this is that I want to scrape a local copy of a site that is using JS to load all

Does libxml2 support XPath 2.0 or not?

99封情书 提交于 2019-12-30 06:11:20
问题 I've tried to use the XPath 2.0 exp //span/string(.) in libxml2 , but it doesn't work. So, my question is: does libxml2 support XPath 2.0 or not? 回答1: As far as I know -- not. The prevailing majority of XPath 2.0 implementations are part of XSLT 2.0 processors or XQuery processors. 回答2: According to this 2007 email from the maintainer of libxml2, libxml2 does not, and will not, support XPath 2.0. 回答3: you might be interested in an XPath 2.0 extension to libxml2 - however, 2 caveats apply: it

Mysterious crashes in Swift 1.2 - in Release builds only

情到浓时终转凉″ 提交于 2019-12-30 06:08:50
问题 After updating to Xcode 6.3 (beta 1) and Swift 1.2, all my apps are mysteriously crashing in Release builds only . They work fine, after updating my code for Swift 1.2, in Debug builds. The debugger gives no sense of where the crashes are occurring, and it isn't clear why. Some of the crashes are malloc: *** error for object 0x7ff0c3824800: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Others are "unrecognized selector", but they make no sense; the

How do I force the linker to include a function I need during debugging?

故事扮演 提交于 2019-12-30 06:08:45
问题 I often make small methods to assist debugging, which aren't used in the actual program. Typically most of my classes has an AsString-method which I add to the watches. I know Delphi 2010 has visualizers, but I'm still on 2007. Consider this example: program Project1; {$APPTYPE CONSOLE} uses SysUtils; type TMyClass = class F : integer; function AsString : string; end; function TMyClass.AsString: string; begin Result := 'Test: '+IntToStr(F); end; function SomeTest(aMC : TMyClass) : boolean;

Mysterious crashes in Swift 1.2 - in Release builds only

你说的曾经没有我的故事 提交于 2019-12-30 06:08:12
问题 After updating to Xcode 6.3 (beta 1) and Swift 1.2, all my apps are mysteriously crashing in Release builds only . They work fine, after updating my code for Swift 1.2, in Debug builds. The debugger gives no sense of where the crashes are occurring, and it isn't clear why. Some of the crashes are malloc: *** error for object 0x7ff0c3824800: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Others are "unrecognized selector", but they make no sense; the

How do I force the linker to include a function I need during debugging?

不想你离开。 提交于 2019-12-30 06:07:27
问题 I often make small methods to assist debugging, which aren't used in the actual program. Typically most of my classes has an AsString-method which I add to the watches. I know Delphi 2010 has visualizers, but I'm still on 2007. Consider this example: program Project1; {$APPTYPE CONSOLE} uses SysUtils; type TMyClass = class F : integer; function AsString : string; end; function TMyClass.AsString: string; begin Result := 'Test: '+IntToStr(F); end; function SomeTest(aMC : TMyClass) : boolean;

What's the difference between nexti and stepi in gdb?

扶醉桌前 提交于 2019-12-30 04:56:27
问题 While debugging an executable using gdb , there are two commands which we can use to step through the execution: stepi and nexti What is/are the difference/s between these two and why would anyone choose one over the other? using help in gdb says: stepi: Step one instruction exactly. nexti: Step one instruction, but proceed through subroutine calls. since we are dealing with instructions and machine code here (the smallest part of a program in execution) I can't figure out what the subroutine