Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
248 views

I'm debugging my application, called floor.exe. My application is throwing an exception and I'm trying to understand what's happening. I've opened the call stack window, and I can see that window ...
Dominique's user avatar
  • 17.6k
0 votes
0 answers
14 views

In Visual Studio 2022, C# project, I need to keep an eye on an expression that's valid only in a specific method, but I need to keep an eye on it even when I'm stepping through called methods, and ...
Kjell Rilbe's user avatar
  • 1,623
1 vote
2 answers
212 views

I am using an Ubuntu 16.04 a 32-bit Virtual Machine OS. I executed sysctl -w kernel.randomize_va_space=0 to disable ASLR in root prior to gcc. I have also compiled this using the command: gcc -g -fno-...
Wabba Fett's user avatar
2 votes
0 answers
52 views

I am observing inconsistent template arguments shown in Visual Studio's "Call Stack" window. Here's one example: template<class T> class Class { public: Class() { method(); } ...
bers's user avatar
  • 6,371
0 votes
1 answer
158 views

It's a follow up question of In a release build by GCC, i.e., without -g flag, is register info trustable?, thanks for the answer of it, I now understand that the registers designated for function ...
PkDrew's user avatar
  • 2,311
1 vote
1 answer
90 views

I can use a type alias to add HasCallStack to a monad e.g.: type XIO' a = HasCallStack => IO a which saves me some keystrokes and I don't have to remember about putting HasCallStack everywhere. ...
carbolymer's user avatar
  • 1,700
0 votes
1 answer
93 views

I was just trying out some stuff with the ImplicitParams language extension when I typed this code: let ?callStack = undefined in undefined and it caused a compiler panic: panic! (the 'impossible' ...
Holz's user avatar
  • 133
0 votes
1 answer
131 views

I have an old application 32bit that doesn't change. I'm developing a DLL for it. Here is the code of my function: void PacketHandler::CMSG_Hook(CDataStore* data) { CDataStore** pointerToPacket = &...
Ofdrykkja's user avatar
0 votes
1 answer
122 views

I tried to debug the ABAP stack of an OData service, and I see there is this call which is taking more time which is called as "Load MPC class" same with all the DPC and DPC_EXT classes, ...
Mehaboob Subuhani's user avatar
1 vote
1 answer
48 views

OptionsAndAnswer is the base class. abstract class OptionsAndAnswer( ..., open val options: List<Option> ){ fun validate() { require(options.map { it.id }.distinct().size == ...
Kun.tito's user avatar
  • 495
1 vote
1 answer
318 views

I am writing a recursive function and would like to add a debugging mode with some (function) caller information along with the ScriptLineNumber. In PowerShell 7, I am able to do something like: ...
iRon's user avatar
  • 24.8k
-4 votes
2 answers
116 views

I'm trying to find out a way to get the complete method chain call stack A() -> B() -> C() -> D(). However, StackWalker or Thread.currentThread().getStackTrace() returns only the originating ...
Pankaj's user avatar
  • 3,694
0 votes
1 answer
112 views

I'm building a React component that fetches drug data from an FDA API and displays it in a <datalist> for searching. However, I'm encountering a `Maximum call stack size exceeded error when ...
Joy's user avatar
  • 103
1 vote
0 answers
106 views

I use pprof to get the CPU profile of a running golang program (cfs-server of CubeFS). And generate a flamegraph using the CPU profile: go tool pprof http://localhost:16220/debug/pprof/profile\?...
Yu-Ang Cao's user avatar
0 votes
1 answer
64 views

what happens if any event is register (like setTimeout) but it takes more time (assume 5,6 min ), and currently call stack and callback queue is completed all task and it is empty, so the program is ...
Mayank's user avatar
  • 11
0 votes
1 answer
64 views

im loosing my mind! I try to get data from a form and pass it to a php script that puts the data in a csv file and into a database. This Works, however i am trying to validate the Transmission of the ...
360Bits's user avatar
  • 31
6 votes
1 answer
2k views

I'm curious about how WebAssembly (Wasm) code operates in the browser. I understand that JavaScript code in the browser is executed by the JavaScript engine, but I'm unsure about who executes the Wasm ...
Live's user avatar
  • 61
0 votes
2 answers
82 views

I was hacking around with stacks in C to demonstrate something to a friend. I understand that the functions below return pointers to garbage memory, and so we can't rely on them. That was the point of ...
The Infinite One's user avatar
6 votes
0 answers
690 views

I have a MAUI application available on the playstore. Google PlayStore has the "Crashes and ANRs" reports. Because MAUI isn't exactly Java, I'm having a difficult time finding the actual ...
Yochai Timmer's user avatar
0 votes
1 answer
207 views

I read an article on Medium that said that "JavaScript has an event table that keeps tracks of all the events that will be executed asynchronously maybe after some time interval or after the ...
Montin's user avatar
  • 45
0 votes
0 answers
40 views

I implemented a mechanism for lazily calculated objects, just with a ConcurrentMap of ConcurrentMaps as an EJB Singleton: @Singleton public class LazyObjectStore { private final ConcurrentMap&...
Torsten Fehre's user avatar
0 votes
1 answer
405 views

I'm trying to add a std::terminate handler with std::set_terminate for debugging in my app but i ran into some unexplained behaviour. The basic idea is that if i'm throwing from constructors (or ...
user3671607's user avatar
1 vote
0 answers
33 views

I want to create a hardfault handler that saves data to the internal flash and then reset the MCU. I want to save not only the core registers and the system control registers, but also the stack of ...
Hagai's user avatar
  • 31
1 vote
1 answer
265 views

I have created a calculator using RDP (recursive descent parser) to parse and evaluate mathematical expressions "such as: 5cos(30) -5(3+5)". The thing is I also have tried to include ...
Achraf's user avatar
  • 19
0 votes
1 answer
76 views

I am reading and conversing with chatGPT about what exactly setTimeout and setInterval do. As I understand it the main JavaScript execution thread sends the Web Timer API a callback function and an ...
qhuboo's user avatar
  • 47
1 vote
1 answer
437 views

I code this(backtrace.hpp) to show the call stack when my program crashed like segmentation fault. #pragma once #include <map> #include <iostream> #include <signal.h> #include <...
BigFaceBoy's user avatar
1 vote
0 answers
152 views

I’m solving an event loop problem in Javascript and I can’t figure out why the output order is 2, 1, and not 1, 2. f1(); Promise.resolve().then(() => { console.log(2); }); async function f2() { ...
Party Favor's user avatar
0 votes
0 answers
45 views

It seems that there are two things that are not being distinguished in some guides about this. When a function is running, there is its local scope, and some scopes above her on call stack. Each scope ...
user87035's user avatar
3 votes
1 answer
373 views

I have a simple program that I compile with -O0 -g -fno-omit-frame-pointer -fno-inline, and which I record with system-wide recording timeout 3 perf record -a -g -F 99 -- ./program perf script > ...
meisel's user avatar
  • 2,625
1 vote
1 answer
104 views

setImmediate(() => { console.log("set immediate function calling") }) setTimeout(() => { console.log("setTime out function") }, 1000) for (let i = 0; i <= ...
Manish Rai's user avatar
0 votes
3 answers
279 views

I have an object whose value can be any type. const data = { a: { aa: 50, ab: 'hello', ac: 'xx_1' }, b: 50, c: [ { ca: 100, cb: 'by', cc: 'xx_2' }, { ca: 101, cb: 'by1', cc: '...
Loutag's user avatar
  • 123
1 vote
1 answer
106 views

I have this inline js code. let btn = document.querySelector("button"); btn.addEventListener("click", foo, { once: true }); function foo() { btn.addEventListener("click", bar, { once: true }); ...
LNTR's user avatar
  • 84
1 vote
0 answers
515 views

I'm trying to build a recruitment management website (nodejs), but when I'm almost done I get this error: Uncaught RangeError: Maximum call stack size exceeded. functionjs.js Here is my functionjs.js ...
Cmint's user avatar
  • 19
0 votes
0 answers
88 views

I'm doing a bit of a deep dive into Java programming. As I'm reading a book I realize that similar to methods and associated local variables (stack variables), constructors also get to stack series ...
Ab12's user avatar
  • 9
3 votes
1 answer
210 views

It's always been challenging to me to track anonymous lambdas in the call stack, so I wrote some sandbox code in order to deal with the issue: int main() { [] { std::cout << "Hello ...
Kaiyakha's user avatar
  • 2,105
0 votes
1 answer
378 views

I'm trying to randomly place a number of items (sprites) onto a canvas element without any overlap. I'm using a seeded random number so that I can get consistent placement. However I'm running into a ...
TommyBs's user avatar
  • 9,748
-1 votes
1 answer
106 views

first of all let me say i'm not asking anything about async/await or promises, i know these concepets, a also know that i can use top-level awaits but i want to make "a single function" to ...
TechDogLover OR kiaNasirzadeh's user avatar
0 votes
0 answers
203 views

I have created this snippet which I am trying to figure out how it's working the way it's working. function fetch() { console.log("Fetch start"); return new Promise(resolve => { ...
kekerinho's user avatar
0 votes
0 answers
109 views

Is there a way to access to call stack content from the code ? There are many introspection functions in <crtdbg.h> but none about call stack. (at least, I didn't find any) I need some (MSVC-non-...
Captain'Flam's user avatar
0 votes
1 answer
114 views

If I have a log file (from a crash reporter), how can I make it so I can easily navigate the callstack in Visual Studio Code? It's just a list of files with line numbers: c:\agent\build\source\game\...
idbrii's user avatar
  • 12.3k
1 vote
1 answer
83 views

If I have a log file (from a crash reporter), how can I make it so I can easily navigate the callstack in Visual Studio? It's just a list of files with line numbers: c:\agent\build\source\game\...
idbrii's user avatar
  • 12.3k
0 votes
2 answers
127 views

Can anyone enlighten us from both technical & historical perspective why computers use a stack, manipulated with a stack pointer and a base pointer, with a specific process to follow like saving ...
bwass31's user avatar
  • 75
1 vote
0 answers
1k views

So I'm new to React Native and I stumbled upon this error while making a guess game... It says RangeError: Maximum call stack size exceeded This is what I have in my App.js import { useState } from '...
MarkoS's user avatar
  • 79
1 vote
1 answer
57 views

function callback(x) { // also tried debugger to find .map in the call stack console.trace(); return 2*x; } [1,2,3].map(callback); console.log('Next line of code'); console What I know about ...
Nick_the_Slasher_McGurk's user avatar
1 vote
1 answer
104 views

I'm learning how to implement queues using two stacks. This is the method where the dequeue operation is costly and enqueue is O(1). Below is the code:- import java.util.*; class QueueusingStacks2 { ...
Mohit's user avatar
  • 13
0 votes
0 answers
85 views

I am working on a personal C# project where I want to redirect console streams to different inputs/outputs for different object instances. So for example I have a class User that I do not have source ...
user avatar
1 vote
0 answers
68 views

We have a situation whereby the code generates an intermetent 'Insert' on a table. The idea is to enable VPD (via DBMS_RLS.ADD_POLICY) methods, on 'insert' of the table, and policy function, which is ...
Piyush's user avatar
  • 21
3 votes
1 answer
748 views

What i all know about call stack is: If there is only one function being called it will be pushed to call stack and removed when its job is done or otherwise return statement is encountered. If one ...
Yogesh Kakde's user avatar
0 votes
1 answer
570 views

I am working on a project in JavaScript where I must generate 24 random and different numbers from 1-24. Whenever I run this code, I get this error in Safari, Firefox, and Chrome RangeError: Maximum ...
David Kolenda's user avatar
1 vote
1 answer
2k views

I have a initial screen in my app that contains a button to navigate to my home screen with the method navigation.navigate('HomeDrawerNavigator' as never), the HomeDrawerNavigator initial screen is my ...
Carlos Mario Lopez Gonzalez's user avatar

1
2 3 4 5
24