breakpoints

Visual Studio 2008 Remote Debugger - Not Reaching Breakpoints

I have installed the VS 2008 SP1 Remote debugger on the machine running the program I want to debug. I am running the Remote Debugger with no auth / allow anyone to connect on said machine. I am running VS 2008 on my development machine with the project for that application open. I have copied a .dll that i have made changed to the sourc...

C/C++ in Eclipse, can I use a #define to set a breakpoint, but only when steping through code?

Years ago I had a little #define which I used in Borland C++ Builder. From memory, it was something approximately like #define BREAK_IF_DEBUGGING asm(0xA3); or something like that. It relied on 0XA3 (or whatever it was) being the op code for the interrupt which Borland were using to trigger a breakpoint. Can I do the same thing in...

Visual Studio insert tabs/newlines in breakpoint print message (tracepoint)?

Anyone know how to place a tab or newline into the print message of a breakpoint and have it show up correctly? Thus far I've tried '\t' and '\t' which give the same thing in the debug output. I've also tried just putting in 4 spaces, but they get removed after I click OK in the 'When Breakpoint is Hit' dialog. I'm using VS.NET 2008 wi...

breakpoints not working after installing valgrind

I just installed valgrind but now my breakpoints dont work in qtcreator. How can I fix this? debug:NO GDB PROCESS RUNNING, CMD IGNORED: -stack-list-arguments 2 0 0 ...

Breakpoint shifted when file gets updated

I am using visual studio 2005 for my windows application developed in C#. I have kept few breakpoints in the class,when i update the svn,these breakpoints get shifted(Actually remain in same line no and not in the method where it is intended to).Is there a way we can update the break point as well? ...

Breakpoints not working in XCode 3.1.4

I'm using the 3.1.3 SDK (XCode 3.1.4) and I've done all the things in many threads (and books) and I have never gotten breakpoints to stop the execution. I had no problems with this in some earlier versions of XCode, so I know how to do it and how it is supposed to work, but this version just doesn't seem to work for me. Please help as...

Xcode breakpoints shifted at runtime

I have been searching for an hour or so here and on Google and cant find the answer as to how correct breakpoints being shifted during run. I have reinstalled Xcode(3.2.2), insured load lazily is off, no optimization in target settings, and every other target setting that might cause the problem. I have also destroyed all of the user pro...

Global variable is changed, but memory breakpoint is not hit

I have a bool variable which should be true, but is sometimes set to false. I have set a memory breakpoint to see what is changing that. To my surprise, the breakpoint did not hit, but the variable went to false again. What could change the memory without memory breakpoint catching it? ...

Visual Studio - can be a breakpoint called from code?

I have a unit test project based on UnitTest++. I usually put a breakpoint to the last line of the code so that the I can inspect the console when one of the tests fails: n = UnitTest::RunAllTests(); if ( n != 0 ) { // place breakpoint here return n; } return n; But I have to reinsert it each time I check-out the c...

breakpoint problem in asp.net

Hi Everybody, I've posted a breakpoint in web user control. But Control is not going on breakpoint. Why is this happening. I have done inline code. <%@ Import Namespace="System" %> <%@ Import Namespace="System.Web.UI.WebControls" %> <%@ Import Namespace="IBlog.Web.HandleUserControl" %> <script language="C#" runat="server"> protect...

How does GameShark / Action Replay work on modern consoles?

Hi, It's quite difficult to find information about this on the internet, since the magical words "GameShark", "Action Replay", "memory editor" and "memory trainer" trigger lots of BS, so I thought I should ask in some forum. I'll get a Nintendo Wii to toy around by the end of this week and I'm interested in knowing methods for modifyin...

unable to place breakpoints in eclipse

I am using eclipse europa (3.5) on windows vista home premium 64-bit using JDK 1.6.0_18 (32 BIT). Normally, I am able to put breakpoints just fine; However, for a particular class which is NOT part of the project (this class is inside a .JAR file (.JAR file is part of the project) ), although I have attached a source directory to this ....

Breakpoints not working in Delphi 6 DirectShow source filter

I'm trying to debug my DirectShow source filter. I'm using Delphi Pro 6 on Windows XP along with the DSPACK component library. I'm using Skype as my host application, which I set in the Parameters option in the Run menu, for testing my source filter DLL (ax file extension). Skype runs fine and I see a stream of my OutputDebugString me...

Unreachable breakpoint at execut(able/ing) code

I've got two DLLs, one in written in native C++ and the other in C++/CLI. The former is injected into a process, and at a later point in time, loads the latter. While debugging, I noticed that the native DLL's breakpoints were functioning correctly while the other's weren't, even though its code was being executed. The breakpoints show...

How to break whenever any line of code executes

I have a very strange bug, which I believe is caused by some code we have executing, but I'm not sure where. We can reproduce it to the point it happens whenever we click Tab, but short of putting a break point at the beginning of every method in the project to find out what is executing. Is there a way to set visual studio to break wh...

How to put a breakpoint at the end of a function in windbg, so that I dont need to edit it even if some lines have been added/deleted in the source?

I need to log some data when some functions are hit, both at the start of execution and and the end of it. While i have no problem with putting breakpoints at the start of the functions(using bu [module]!functionname, I dont know how to put a breakpoint at the end of a function, SUCH THAT i dont need to edit the breakpoint everytime i ad...

Question on how to remove a Visual Studio Breakpoint

Let's say I have 10 breakpoints and I want to clear one but not the other 9. If I toggle the breakpoint on the one that I want to remove, it is resurrected the next time I restart the app. The only way that I know to permanently get rid of it is to clear ALL the breakpoints, which I would rather not do since I would have to reset the ot...

How can I set a breakpoint in referenced code in visual studio?

My main solution is using code from a utiliy class library, that I wrote myself, but is part from an other solution.I want to set a breakpoint in the referenced .dll. How can I do that? ...

how to set breakpoint on function in a shared library which has not been loaded in gdb

Hi, I have a shared library libtest.so which will be loaded into the the main program using dlopen. Function test() reside in libtest.so and will be called in the main program through dlsym. Is there any way I could set up a break point on test? Please note that the main programm has not been linked to libtest.so during linking time....

Why does the VS2005 debugger not report "base." values properly? (was "Why is this if statement failing?")

I'm working on an existing class that is two steps derived from System.Windows.Forms.Combo box. The class overrides the Text property thus: public override string Text { get { return this.AccessibilityObject.Value; } set { if (base.Text != value) { ...