breakpoints

Mixed mode assembly not loading symbol for native C++ pdbs

Hello, I am working with mixed mode assemblies in C++/CLI. All managed mode assemblies pdb's get loaded when successfully in mixed mode assembly. But native dll's pdb's not getting loaded even no information shown of native pdb in Modules pane (i.e in VS Debug->Windows->Modules). Note: I am using native dll and calling its exported fu...

In visual studio 2010 how can you debug a class

When I set a breakpoint in a class then access a method, debugger does not hit breakpoint. What would be best way to debug a class? ...

new Breakpoints are created, unwanted!

I am running VS 2008 pro. my solution file has two project. Break points location are saved in .suo file which I delete it before opening the projects. even if I go to the debug menu, there is no active break point listed in there. but when I run the program, It goes to a breakpoint ( not an exception or anything) a break point, the same...

eclipse breaking inside a class file

Everytime I execute my app in debug mode, the execution breaks inside some class file of an external library that I'm using. Even though it's a NullPointerException, for some reason I can hit resume and continue the execution. In case you're curious, I've put the stacktrace below. My problem though is that I simply want to stop that. It...

Eclipse pausing without a breakpoint

While debugging my project in Eclipse, it will (repeatably, at the same point in the code) pause execution as if it's reached a breakpoint. No exceptions are thrown, the project has no breakpoints, and if I hit resume, it carries on without a problem. What could be causing this behaviour? ...

Visual Studio Breakpoints window: What does the TreeView show?

Usually when using breakpoints in Visual Studio (2008 in this example), I just see a flat list. Sometimes though, I get a tree-view for each breakpoint, as shown below (there are 26 child nodes of the expanded node). All the tree nodes refer to the same line of code, and all the optional columns display the same data for each node. I gue...

How to save breakpoint in visual basic 6

How can I save my breakpoints in Visual Basic 6? Are there any add-ins? For now I have MZ-Tools, but unfortunately they don't save breakpoints. ...

gdb and GPS: Cannot set a breakpoint on a function or procedure that is part of a protected type Ada object.

I've got a protected object that presents functions and procedures in its interface. In gdb, when I set a bp on the first line of one of those, I get odd results. Here's a snippet from my gdb console: (gdb) (gdb) b database-access_manager.adb:20001 Breakpoint 3 at 0x1a10588: file y:/svs/central_switch/controller/database/ database-ac...

Why doesn't VS2010 debugger stop at my breakpoints?

I am working on a C#.NET class library project in VS2010. In my project settings -> debug settings, I have the project set to start an external program (C:\Windows\SysWOW64\wscript.exe) which runs a very simple jscript file (test.js). The script simply creates an instance of the class and calls one of it's methods. The problem is when ...

Is there a way of using breakpoints in python?

Hello all, I am just wondering if there is a way to add breakpoints in IDLE so that I can stop at a point in my script and write other lines in the idle shell for testing. If not, is there other software that can do this? ...

How do I set a breakpoint on every access to a class

When working with third party systems, especially very configurable systems that dynamically load providers, controllers, components and so on, I sometimes just want to know when a certain object or class is accessed. Normally, I'd place a breakpoint on any potential lines in my source (a nuisance, but it works), but if source is not ava...

javascript debugging in HTML file

How can I put break points in an HTML page in javascript functions to see values of variables as lines get executed. What is the easiest way of doing so? thanks ...

what's the keyboard shortcut to toggle breakpoint in pydev using eclipse

I think i'm missing the elephant in the room but for the life of me i can't find the keyboard shortcut to setting a breakpoint in eclipse when using the pydev plugin. Things that i've already tried: Ctrl-Shift-B: does nothing. Ctrl-F10: brings up the breakpoint context menu where you can select to add breakpoint, remove etc... i don't...

Silverlight breakpoints not hit when hosted by an ASP.NET project

Hello. I'm using Visual Web Developer 2008 Express + Silverlight 3 Tools + Silverlight 3 Developer runtime, debugging in Firefox 3.6.8. When I create a Silverlight project and let the IDE set up an ASP.NET site to host it, the breakpoints will not be hit. If I create a single Silverlight project it will be fine. Something must be wrong...

Break from for loop

Here is my code: def detLoser(frag, a): word = frag + a if word in wordlist: lost = True else: for words in wordlist: if words[:len(word) == word: return #I want this to break out. else: lost = True Where I have a return, I've tried putting in bot...

Visual Studio stops at none breakpoints for no reasons.

There is an annoying bug in VS 2008 that it will stop at some portion of the code that does not have a breakpoints. Even if I remove all the breakpoints. It will still stop at those points for unknown reasons (No exception or any problems like that). The only way for it not to stop is disabling the breakpoints. It is time consuming for m...

Working with XCode breakpoints

I'm a CS student, so I'm still fairly new to programming. Breakpoints seemed pretty darn cool and useful to debugging, so I decided to play around with them a bit. Unfortunately, I don't really know how to work with them. I added a breakpoint to "Log breakpoint and arguments and auto-continue". The program reached the breakpoint, the deb...

How do I use breakpoints in F# interactive?

I've started researching some ideas in algorithms using VS2010 and F# interactive. So, I've created a DebugScript.fsx, I write some code there and eventually send it to F#Int to test it. At some some moment I need to catch a bug. But I can't place a breakpoint even in a simple for loop: for i in stringarray do printfn "%s" i Whe...

Why break point doesn't work for those lines without source code in Disassembly view of visual studio?

It's a c++ project: 7C92E4BE mov dword ptr [esp],eax 7C92E4C1 mov dword ptr [esp+4],0 7C92E4C9 mov dword ptr [esp+8],0 7C92E4D1 mov dword ptr [esp+10h],0 7C92E4D9 push esp 7C92E4DA call 7C92E508 7C92E4DF mov eax,dword ptr [esp] 7C92E4E2 mov esp,ebp 7C92E4E4...

Unmanaged/native alternative for managed System::Diagnostics::Debugger::Launch function?

I have a mixed-mode application in which I want to fire up the debugger if an error is found in the internal datastructures. Strange enough, the DebugBreak and __debugbreak functions don't seem to work as expected (the .Net framework seems to intercept the breakpoint exception, leading to all kinds of nasty side effects). The solution o...