Questions tagged [breakpoints]

A breakpoint is a mechanism offered by a development environment that allows to interrupt and suspend the execution of a program for debugging purpose, in view of resuming the execution.

A breakpoint is a mechanism offered by a development environment that allows to interrupt and suspend the execution of a program for debugging purpose, in view of resuming the execution.

External reference:

2934 questions
1
vote
0 answers

How to create different conditional breakpoints for method entry and exit in eclipse?

I would like to use conditional breakpoints at the entry and exit of the same method, but with different conditions in eclipse. But eclipse only offers to create one such breakpoint per method. I already tried exporting the breakpoint for method…
SpaceTrucker
  • 13,377
  • 6
  • 60
  • 99
1
vote
1 answer

UE4Editor-CoreUObject Triggered Breakpoint

My game is randomly crashing sometimes and I want to try and debug it and track down the issue. Currently, when the game crashes, I see this screen and does not have any information, any idea how to fix?
Katianie
  • 589
  • 1
  • 9
  • 38
1
vote
0 answers

Pycharm produces different results if debugging with breakpoints

I'm using pycharm to debug the django development server for analysing a form instantiation where I'm using forms class inheritance. If I run my application without stepping into any breakpoints (temporarily disabling all) then everything works as…
Leonardo
  • 4,046
  • 5
  • 44
  • 85
1
vote
0 answers

Python - How to Shelve|Dill workspace variables using a function?

I am trying to create a function that will shelve all my variables from the caller function. In the following example: shelve.out would contain junk1, junk2, junk3 when the variables are loaded. def SavePoint(): print('shelving stuff') …
ttarter3
  • 83
  • 8
1
vote
2 answers

How to get stack trace in Processing debugger

Is there any way to show a stack trace in the Processing 3 debugger (Java mode)? Not by catching an exception. I know about e.printStackTrace(). I want to print a stack trace in the debugger at a custom breakpoint. Thanks!
Serj.by
  • 534
  • 5
  • 17
1
vote
1 answer

checking Visual C++ breakpoints (not stopping)

I'm working with Visual C++ installed on a Windows Virtual Machine (VMWare). As there is no way to make the debugger stop at breakpoints, I wondered if there was a problem with the breakpoints mechanism itself, maybe due to the fact I'm working in a…
hank7v
  • 31
  • 7
1
vote
1 answer

How can I set a breakpoint in a C++ static library from my C# project?

I have a static library written in C++, which can be downloaded in binary or compiled from source here. In that static library, I would like to set a breakpoint at a function call. I have created a wrapper C++ DLL to that static library, and a C#…
ArKi
  • 681
  • 1
  • 10
  • 22
1
vote
1 answer

Retrofit is not stopping on breakpoint

I'm facing that problem, when I make a call of retrofit, that call doesn't stop on breakpoint. ClashResponse clashResponse = new ClashResponse(); clashApi = clashResponse.getClashApi(); clashApi.getAllArenas().enqueue(new…
Wellington Yogui
  • 371
  • 3
  • 18
1
vote
1 answer

Android Studio - how to debug this situation?

Preface I'm maintaining an app that I inherited from another team Scenario I understand ClassCastException but for the life of me I cannot find where this error is occurring in the code. 01-27 14:47:15.839 13272-13272/com.xx.android…
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284
1
vote
1 answer

How to trigger breakpoints inside a script called by publish?

I wrote some script called drawCurves.m to draw some curves. Then I called this script via publish function: publish('drawCurves.m', 'outputDir', destPath, 'showCode', false) Unfortunately, no any breakpoints set inside drawCurves trigger. If I…
Dims
  • 47,675
  • 117
  • 331
  • 600
1
vote
1 answer

Eclipse cdt debugger only step through dessembly code and not my own

Recently I asked a question and one of the guys here really tore into me about not using a debugger. Someone else was nice and suggested Visual Studio C++. I have been trying to work with it and it was really nice until I tried more complex code.…
Mae Davis
  • 120
  • 2
  • 10
1
vote
1 answer

C - fclose() triggers a breakpoint

I'm writing a function (*rwObjects()) that will read a formatted file and save it's strings, one object at a time. Unfortunately, it's for my studies which have a restriction - stdio.h, stdlib.h and string.h is practically all I can use. Here's the…
Johnny Cache
  • 1,033
  • 7
  • 12
1
vote
3 answers

Debugging SSIS Script Component - Breakpoint is enabled but it does not hit

I am working on a SSIS package that has some script components (in C#) inside data flow. I used break points all the time with it and worked fine without any issue. But yesterday suddenly it stopped working without throwing any errors or any. The…
Delush
  • 97
  • 3
  • 8
1
vote
0 answers

How to change Windows Form control properties during runtime

Environment: Visual Studio 2017 1.12.111, C# Windows Forms Application I am building a multi-formed C# application. I am working on the fourth or fifth form in the "form chain" (ie. starts with one form -> info is entered -> another form is opened x…
Yuriy F
  • 351
  • 1
  • 2
  • 13
1
vote
1 answer

Detecting when VS debugger is stopped at a breakpoint?

In managed .NET debugging with Visual Studio 2017, is there any way to detect whether your code is being called by the debugger context, i.e. when stopped at a breakpoint? I believe this is known as the func-eval context (more here), and it happens…
Glenn Slayden
  • 17,543
  • 3
  • 114
  • 108