Thread: VS9 Breakpoint a dependency?

  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    11

    VS9 Breakpoint a dependency?

    I'm working with a PhysX wrapper, and a line is generating an exception error that I believe has nothing to do with my own code. The error is occurring somewhere in the wrapper project. I added the wrapper's project file to my solution and set my project as a dependency, but I still can't set breakpoints outside of my own project.

    Is there any way I can break point inside a function that is contained in another project within the same solution?

    I'm using Microsoft Visual Studio 2008.

    Thanks,
    Glorfindel

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    I've never had any issue setting a breakpoint anywhere, whether in my own code or not. If the other project was compiled with symbols then you should be able to break at a specific function. Otherwise you will have to break at a virtual address.

    Can you describe your problem in more detail?
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    11
    My problem was that I forgot to change the paths in my new project in order to reflect the new relative path of the NxOgre library. Once I fixed that all and changed out the DLL, it lets me set breakpoints just fine.

    Thanks, something clicked after I read your reply a couple times! ^_^

    Now hopefully I'll be able to figure out whats causing the exception, or at least pass more info to the guys at NxOgre.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help
    By hellBOY in forum C Programming
    Replies: 4
    Last Post: 01-13-2009, 11:59 AM
  2. can not set breakpoint in release mode
    By George2 in forum Windows Programming
    Replies: 4
    Last Post: 07-16-2008, 03:43 AM
  3. Dev-C++: Problems with Breakpoint Debugging
    By Thileepan_Bala in forum C Programming
    Replies: 1
    Last Post: 01-17-2008, 10:48 AM
  4. Need help understanding msvcrt.dll dependency
    By Mario F. in forum Windows Programming
    Replies: 6
    Last Post: 10-11-2007, 10:06 AM
  5. Debugger: Unhandled Exception: User Breakpoint
    By JaWiB in forum Windows Programming
    Replies: 1
    Last Post: 12-18-2005, 05:46 PM

Tags for this Thread